Can we start a thread twice - Core Java

Q.  Can we start a thread twice?
- Published on 15 Jul 15

a. Yes
b. No

ANSWER: No
 

    Discussion

  • sravathi   -Posted on 12 Dec 17
    No. After starting a thread, it can never be started again. If you does so, an IllegalThreadStateException is thrown. In such case, thread will run once but for second time, it will throw exception.

➨ Post your comment / Share knowledge


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)
▲