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


Please Help Members By Posting Answers For Below Questions

What is phantom memory?

545


Can the main method be overloaded?

554


What is war file in java?

564


I am trying to create a new universal user group. Why can't i? : java security

511


What is the use of entity class in java?

452






Can I have multiple main methods in the same class?

477


What do you mean by exception handling?

475


What is setstring method in java?

503


What is crud operations in java?

466


What if the main method is declared as private?

465


What is the most important feature of java?

455


Differences between intermediate operations and terminal operations of java 8’s stream api?

477


Is it better to learn java or python?

457


Is eclipse a jdk?

495


What are orm tools in java?

584