1.

A method used to temporarily release time for other threads.(a) yield()(b) set()(c) release()(d) start()I have been asked this question in an interview for job.My question comes from Multithreading in section Operating Systems of Computer Fundamentals

Answer»

Correct option is (a) YIELD()

EASY explanation: We can use the yield() method to TEMPORARILY release TIME for other threads. It is static by DEFAULT.



Discussion

No Comment Found

Related InterviewSolutions