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 |
What is servlet preinitialization?
What happens when we invoke a thread?s interrupt method while it is in sleeping or waiting condition?
Why does the tag url-encode javascript and mailto links?
hi friends, i have done my BE(CSE)at 2011 then i have joined one company before they asked me 50k so i paid but now they telling no project here so we r going to close like that so now i need any job i have good knowledge in core java and j2ee(jsp,servlet,jdbc) so if u know any job pl help me
String is immutable.it is true String can be change to mutable How?
6 Answers IBM, Professional Access, TCS,
In howmany ways a thread can be created?
What is RMI architecture?
Define the remote interface?
What is the diffrence between a local-tx-datasource and a xa-datasource?
Why use POJO when I can use hashmap
how the mapping can be done from jsp to actionservlet?
what are the activation groupworks?