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 / dara
Calling run() without calling start() will effectively
execute run() is a normal method.
Calling start() will kick off a separate thread,from your
current thread, which will then call run().
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What is custom tag in java?
Do I need jdk or jre?
Explain main thread under thread class execution?
What are the rules regarding quotation marks?
What is a container in java?
What is the use of jprofiler?
Is lambda functional programming?
What does el mean in java?
How to reverse the singly linked list(In Node data members are(int data,int pointerTONext))
What is the use of rs next () in java?
If you’re overriding the method equals() of an object, which other method you might also consider?
What is stateless and stateful in java?
Why we use beans in java?
What are messages in java?
What is http session in java?