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
What is gpt and gpc? : java security
Are streams faster than for loops?
What is java ioc?
What are the authentication modes in asp.net? : java security
Which framework is best for rest api java?
How does java handle integer overflows and underflows?
Can we extract main method from another class?
What is stateless and stateful in java?
How do I find jre version?
Which is faster c++ or java?
What is @resource annotation in java?
What is a context in java?
Explain the common use of ejb?
What are the new features about Java se 8 ?
What is difference between map and flatmap in java 8?