Sports GK Questions and Answers 2024 (Latest Updated)

Awards & Honours GK Questions 2024 (Latest Updated)

Question

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.

Advertisement
Article and Schedule Quiz Start Test!
DOWNLOAD CURRENT AFFAIRS PDF FROM APP

Random GK Questions

Assam Direct Recruitment Test Series

Computer Science Topics