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
In java what is the difference between sleep() and wait() .
What are the new features about Java se 8 ?
What about 'hostile applets'? : java security
How do I open java console?
What is transactional in java?
What is a yaml file in java?
What is messaging queue in java?
What is a jvm?
What is java web application?
Is jprofiler open source?
What is the use of servlet in java?
Describe life cycle of thread?
What java systems libraries and methods are available for me to use?
explain how java se 8 data and time api solves issues of old java date api?
Can a method be static and synchronized?