Vidyalelo
Java Programming · Q21

Threads

Programming · Java Programming · question 21

Q21

What is the purpose of the isDaemon() method in Java threads?

A.
It checks if a thread is currently running
B.
It checks if a thread is sleeping
C.
It checks if a thread is a daemon thread
Answer
D.
It checks if a thread is waiting

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board