Why do we call the start()
method, which in turn calls the run()
method?
Can’t we directly make a call to run()
?
Please give an example where there is a difference.
Advertisement
Answer
No, you can’t. Calling run will execute run()
method in the same thread, without starting new thread.