What is daemon thread?

Answers were Sorted based on User's Feedback



What is daemon thread?..

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

What is daemon thread?..

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

What is daemon thread?..

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

Post New Answer

More Advanced Java Interview Questions

what is Activation Instantinator?

0 Answers  


can any one tell me how to learn good coding techniques

3 Answers  


What is JasperReports?

2 Answers  


Why does the tag url-encode javascript and mailto links?

0 Answers  


what is disadvantage of thread?

3 Answers   HCL,






what is singleton class? where it mainly used in the projects?

5 Answers   Satyam, Wipro,


why static class in java

0 Answers   Infotech, SunGard,


how to make a index.jsp for running the site in internet and find an error for connection with weblogic server and java that give an error invalid object name.and how to maintain session.

0 Answers  


how java is os independent language ?

3 Answers  


What is the RMI and Socket?

0 Answers  


If your ui seems to freeze periodically, what might be a likely reason?

0 Answers  


what is difference between object state and behaviour?

3 Answers  


Categories