cant we call run() method directly instead of calling indirectly through the start()
method ? if we do so then what is the problem ?
Answer Posted / rajkiran bande
@Answer 5 : Yes. But you'll eventually end up in getting
IllegealThreadStateException when run() is invoked for the
second time.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What is messaging queue in java?
Do I need both jdk and jre?
explain isalive() method under thread class?
Why do we need framework in java?
How many types of jdk are there?
What is a stream in java?
What is a java proxy?
Can we write lambda without functional interface?
Is java installed on windows 10?
What is flatmap java?
What are the rules regarding quotation marks?
Why dependency injection is used in java?
What are the authentication modes in asp.net? : java security
Can a method be static and synchronized?
When is static variable loaded? Is it at compile time or runtime? When exactly a static block is loaded in java?