Test Preparation on Computer Science Engineering Test Preparations On Java Programming Part 2
Which two of the following methods are defined in class Thread?start() wait() notify() run() terminate()
Which three guarantee that a thread will leave the running state?yield() wait() notify() notifyAll() sleep(1000) aLiveThread.join() Thread.killThread()
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?