Computer Science, asked by bhritinagi3292, 1 year ago

What invokes a thread's run() method? A. Main application running the thread b. Jvm invokes the thread's run() method when the thread is initially executed c. Start() method of the thread class d. None of the above

Answers

Answered by KameenaYaar01
0

Answer:

Run() method is used to define the code that constitutes the new thread, it contains the code to be executed. start() method is used to begin execution of the thread that is execution of run(). run() itself is never used for starting execution of the thread.

Similar questions