Java Threads Question:

What invokes a threads run() method?

Tweet Share WhatsApp

Answer:

After a thread is started, via its start() method of the Thread class, the JVM invokes the thread's run() method when the thread is initially executed.

Download Java Threads PDF Read All 38 Java Threads Questions
Previous QuestionNext Question
What is the difference between preemptive scheduling and time slicing?What is the purpose of the wait(), notify(), and notifyAll() methods?