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

What is injection in java?

475


what is the package for freshers in valuelabs.

5698


What is a delimiter in java?

490


In an htm form i have a button which makes us to open another page in 15sec.how will you do that?

1364


What about javascript? : java security

527






differences between iterator and spliterator in java se 8?

553


What if I write static public void instead of public static void?

470


can anyone tell me what kind of questions are asked for core java exam in aptech

1454


How do I install java re?

510


What is meant by code profiling?

496


Do I need jdk or jre?

474


can a program use more than one command-line argument?

488


Is php faster than java?

485


What is the difference between the boolean & operator and the && operator?

524


Why bean class is used in java?

449