Q.

Which of these methods of a Thread class is used to suspend a thread for a period of time?

A. sleep()
B. terminate()
C. suspend()
D. stop()
Answer» A. sleep()
1.5k
0
Do you find this helpful?
1

View all MCQs in

Java Programming

Discussion

No comments yet