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 / will
Calling run() without calling start() will effectively
execute run() in the current thread.
Calling start() will kick off a seperate thread,from your
current thread, which will then call run().
Is This Answer Correct ? | 12 Yes | 4 No |
Post New Answer View All Answers
What is phantom memory?
Can the main method be overloaded?
What is war file in java?
I am trying to create a new universal user group. Why can't i? : java security
What is the use of entity class in java?
Can I have multiple main methods in the same class?
What do you mean by exception handling?
What is setstring method in java?
What is crud operations in java?
What if the main method is declared as private?
What is the most important feature of java?
Differences between intermediate operations and terminal operations of java 8’s stream api?
Is it better to learn java or python?
Is eclipse a jdk?
What are orm tools in java?