Java Threads Question:
Download Job Interview Questions and Answers PDF
What invokes a threads run() method?
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 Interview Questions And Answers
PDF
Previous Question | Next Question |
What is the difference between preemptive scheduling and time slicing? | What is the purpose of the wait(), notify(), and notifyAll() methods? |