DEVFYI - Developer Resource - FYI

What is daemon thread and which method is used to create the daemon thread?

Java Interview Questions and Answers (part 3)


(Continued from previous question...)

536. What is daemon thread and which method is used to create the daemon thread?

Daemon thread is a low priority thread which runs intermittently in the back ground doing the garbage collection operation for the java runtime system. setDaemon method is used to create a daemon thread.

(Continued on next question...)

Other Interview Questions