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

22.
In Java, what happens when a thread encounters an uncaught exception and terminates abruptly?

23.
What is the result of calling the setDaemon(true) method on a running thread in Java?

24.
In Java, what is the purpose of the isInterrupted() method in threads?

28.
In Java, can you directly access the run() method of a Thread object?

Read More Section(Threads)

Each Section contains maximum 100 MCQs question on Threads. To get more questions visit other sections.