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 are the different phases in delivering the project during development and maintenance?
Who developed rxjava?
Spring framework ---Can somebody explain me in easily understandable format about AOP, IOC and DI, so that i can explain in interview rather than just telling what is available in net. I am not able to understand that also. I am new to Spring
What is data persistence in java?
In hibernate what is the difference between the Session and SessionFactory?
Why there are no global variables in java?
What is contextpath in java?
What is native class in java?
What is the difference between java se and java ee?
How do I enable java in firefox?
What are the disadvantages of java sockets?
Where are group policies stored? : java security
Explain the encapsulation principle.
What are the advantages of java sockets?
What is exe file in java?