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


Please Help Members By Posting Answers For Below Questions

Why oracle type 4 driver is named as oracle thin driver?

447


What is flatmap in rxjs?

478


What is log4j in java?

484


Why do we need framework in java?

433


What is jpa entitymanager?

448






Why do we only use the main method to start a program?

481


What is tight coupling in java?

492


What is a controller in java?

467


Which version of jdk is required for netbeans 8.0 2?

430


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

478


Where are group policies stored? : java security

486


What is messaging queue in java?

491


Which version of my browser should I use? : java security

497


What are the types of cookies in java?

489


How do I know if I have jre or jdk?

482