Can we call the run() method instead of start()?
Page 1 of 1
Can we call the run() method instead of start()?
yes, but it will not work as a thread rather it will work as a normal object so there will not be context-switching between the threads.
Similar topics
» Can subclass overriding method declare an exception if parent class method doesn't throw an exception ?
» Is it possible to start a thread twice?
» What is a native method?
» What does join() method?
» What does the hashCode() method?
» Is it possible to start a thread twice?
» What is a native method?
» What does join() method?
» What does the hashCode() method?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|