Online GK Series

This site is dedicated to the aspirants of competitive exams SSC, UPSC, Railways, Postal Assistants, Bank, GATE and NET


A thread becomes not runnable when

A its sleep method is invoked
B the program terminates
C a network connection is established
D an event occurs
Answer & Explanation
Option: [A]

A thread becomes not runnable when any of the following conditions satisfied:

(i) If sleep method is invoked

(ii) The thread calls the wait method to satisfy some specific conditions

(iv) The thread is blocking on I/O.

Your Valuable Comments Please...

Useful Computer Science EBooks