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
How do you count in java?
What is cmp in java?
Is eclipse a jdk?
Can a method be static and synchronized?
In java thread programming, which method is a must implementation for all threads?
What is profile in java?
What is cache in java?
What are jdk tools?
can anyone tell me what kind of questions are asked for core java exam in aptech
What is transient in java?
What is jndi datasource in java?
i have client interview in TCS.client is CITI BANK.how to face it,what type of questions they will ask,please tell send me to kumar525job@gmail.com
What's the difference between local, global and universal groups? : java security
When a thread is created and started, what is its initial state?
For each of the following program segments,give a big zero
analysis for the running time
1.For (i=0;i