McqMate
| Q. |
Which of the following statement is false? |
| A. | The sleep() method should be enclosed in try ... catch block. |
| B. | The yield() method should be enclosed in try ... catch block. |
| C. | A thread can be temporarily suspended from running by using the wait() method. |
| D. | A suspended thread using suspend() method can be revived using the resume() method. |
| Answer» B. The yield() method should be enclosed in try ... catch block. | |
View all MCQs in
Java ProgrammingNo comments yet