Which of these method of Thread class is used to Suspend a thread for a period of time?
(a) sleep()
(b) terminate()
(c) suspend()
(d) stop()
This question was posed to me in an interview.
My question is from Thread class in portion Multithreading of Java
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)