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

Q

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

✍: Guest

A

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.

2013-06-14, 2147👍, 0💬