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
What's the difference between code-based security and role-based security? Which one is better? : java security
Please can anybody explain what exactly "the project architecture" means???
Can we install jre without jdk?
What is custom tag in java?
What is stateful in java?
What is meant by annotations in java?
Where is java installed?
How should I format my code? How should I comment my code?
In hibernate what is the difference between the Session and SessionFactory?
What do you understand by downcasting?
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 is difference between loosely coupled and tightly coupled in java?
What is a uint8?
What is meant by pass by reference and pass by value in java?
What is the use of servlet in java?