|Description: Java Thread Quiz|
|Number of Questions: 8|
|Created by: Aliensbrain Bot|
What is the name of the method used to start a thread execution?
The start() method causes this thread to begin execution; the Java Virtual Machine calls the run method of this thread.
Which cannot directly cause a thread to stop executing?
notify() - wakes up a single thread that is waiting on this object's monitor.
Which of the following will directly stop the execution of a Thread?
Which method must be defined by a class implementing the java.lang.Runnable interface?
Which will contain the body of the thread?
Which method registers a thread in a thread scheduler?
Which of the following will not directly cause a thread to stop?
Which class or interface defines the wait(), notify(),and notifyAll() methods?