What is daemon thread?
Answers were Sorted based on User's Feedback
Answer / janet
daemon thread is a low priority thread which runs
intermittently in the back ground doing the garbage
collection operation for the java run time system.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / manikandan [ gtec,vellore ]
what said above is correct and it can b created by using
method setDemon()
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / vikki
daemon threads are created by the JVM unlike normal threads
which are created by the user.
The daemon threads provides services to the user-created
threads and they run in the background.
Hence to set them u have to write threadname.setDaemon
(true) and to check whether a thread is a daemon thread or
not you write isDaemon().
| Is This Answer Correct ? | 2 Yes | 0 No |
Will the general public have access to the infobus apis?
What happens when we invoke a thread?s interrupt method while it is in sleeping or waiting condition?
Why JDBC has introduced
What is the use of Class.forName
What is a modular application?
Difference between swing and awt?
Can you control when passivation occurs?
What is meant by method chaining?
explain session tracking. why we used it
What will happens, when a thread cannot acquire a lock on an object?
can i call multipule form beans in Action class?
what is difference between checked exception & unchecked exception in java?