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

How do I open the java console in windows 10?

543


Do I need jdk or jre?

471


What is repository pattern in java?

483


What is exe file in java?

500


How do I enable java in google chrome?

450






What is jpa entitymanager?

453


What is default constructor in java?

452


Explain issues of old java date api?

530


What is an entity in java?

480


Which is more secure: java or activex? : java security

513


What is dto in java?

483


What is flatmap in rxjs?

482


What is java bean class?

490


Why sun introduce concept of anonymous class? What is need and real life use of anonymous class

1768


In java thread programming, which method is a must implementation for all threads?

511