Can we start a thread twice in java?



Can we start a thread twice in java?..

Answer / Vikas Shrivastava

No, you cannot start a thread twice in Java because once started, a Thread object becomes alive and runs concurrently with other threads. If you try to start a thread again, the JVM will throw an IllegalThreadStateException.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Is minecraft java edition free?

1 Answers  


How to change the priority of thread or how to set the priority of thread?

1 Answers  


Difference between vector and arraylist.

1 Answers  


How would you use Bubble Sort to sort the number of elements?

1 Answers   Genpact,


What are the disadvantages of using inner classes?

1 Answers  


Explain about data types?

1 Answers  


Howto get an object that will perform date & time calculations then format it for output in some different locales with different date style.can ne1 tel me the answer of this question.pls

1 Answers  


How many statements can be created with one connection in jdbc?

4 Answers   Polaris,


what are the diffrences between interface and abstract class?

4 Answers  


What is contract between hashcode and equal method?

1 Answers  


What's the base class in java from which all classes are derived?

1 Answers  


Difference between a process and a program?

1 Answers   Infosys,


Categories