1.

Command to make thread sleep?(a) Thread.Sleep(b) Thread_Sleep(c) ThreadSleep(d) Thread_sleepI had been asked this question during an interview for a job.The doubt is from Multithreading in chapter Going Parallel, Handling Actuator and Sensor of IOT

Answer»

Correct OPTION is (a) THREAD.Sleep

The BEST I can explain: A particular thread of the application can be BLOCKED FOREVER by calling Thread.Sleep(Timeout.Infinite).



Discussion

No Comment Found

Related InterviewSolutions