topic/Threads
Start Test
Question No
Title
Type
Marks
756.
What is the name of the method used to start a thread execution?
MCQ
5
757.
Which two are valid constructors for Thread?Thread(Runnable r, String name)Thread()Thread(int priority)Thread(Runnable r, ThreadGroup g)Thread(Runnable r, int priority)
MCQ
5
758.
Which three are methods of the Object class?notify();notifyAll();isInterrupted();synchronized();interrupt();wait(long msecs);sleep(long msecs);yield();
MCQ
5
759.
class X implements Runnable { public static void main(String args[]) { /* Missing code? */ } public void run() {} }Which of the following line of code is suitable to start a thread ?
MCQ
5
760.
Which cannot directly cause a thread to stop executing?
MCQ
5