Can you start a thread twice in Java?
Answer / Vishal Saini
No, you cannot start a thread more than once because each instance of Thread has only one run() method to be executed. However, you can create multiple instances of the Thread class and start them separately.
| Is This Answer Correct ? | 0 Yes | 0 No |
Java violates few objected oriented concepts. Can you explain in what way?
What is a type parameter in java?
What are the kinds of polymorphism?
Which graphs are functions?
How would you dynamically allocate memory to an array?
Can extern variables be initialized?
what is Thread priority?
4 Answers Tech Mahindra, Wipro,
Name few java util classes introduced with java 8 ?
How to do a true java ping from windows?
What is difference between java and java ee?
Hi friends, i am new to java. can you explain how java is secured.
What is a superclass?