JavaGian java tutorial and java interview question and answer

JavaGian , Free Online Tutorials, JavaGian provides tutorials and interview questions of all technology like java tutorial, android, java frameworks, javascript, ajax, core java, sql, python, php, c language etc. for beginners and professionals.

Can we start a thread twice in java

No, Once you have started a thread, it can not be started again. If you try to start thread again , it will throw IllegalThreadStateException
Lets understand with the help of example:
When you run above program , you will get below output:
If you try to start thread again , it will throw IllegalThreadStateException

.