InterviewSolution
Saved Bookmarks
| 1. |
What is true about threading?(a) run() method calls start() method and runs the code(b) run() method creates new thread(c) run() method can be called directly without start() method being called(d) start() method creates new thread and calls code written in run() method |
|
Answer» Correct choice is (d) start() method creates new thread and calls code written in run() method The best explanation: start() eventually calls run() method. Start() method creates thread and calls the code written inside run method. |
|