1. |
Which of this method can be used to make the main thread to be executed last among all the threads?
|
||||||||
Answer:
Option (b) |
2. |
Which of this method is used to find out that a thread is still running or not?
|
||||||||
Answer:
Option (c) |
3. |
What is the default value of priority variable MIN_PRIORITY AND MAX_PRIORITY?
|
||||||||
Answer:
Option (c) |
4. |
Which of these method waits for the thread to terminate?
|
||||||||
Answer:
Option (c) |
5. |
Which of these method is used to explicitly set the priority of a thread?
|
||||||||
Answer:
Option (c) |
6. |
What is synchronization in reference to a thread?
|
||||||||
Answer:
Option (a) |
7. |
Which of these method is used to implement Runnable interface?
|
||||||||
Answer:
Option (b) |
8. |
Which of these method is used to begin the execution of a thread?
|
||||||||
Answer:
Option (b) |
9. |
Which of these statement is incorrect?
|
||||||||
Answer:
Option (d) |
10. |
Which of these method of Thread class is used to find out the priority given to a thread?
|
||||||||
Answer:
Option (c) |