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

Can constructors be synchronized in java?

0 Answers  


How will the struts know which action class to call when you submit a form?

6 Answers   HeadStrong,


explain session tracking. why we used it

3 Answers   Lionbridge,


whether the connectionpooling used in struts?

2 Answers   SolutionNET,


In connection pool,when 100 clients are requesting, in pool 100 objects is there, when another client is making request how it will work

3 Answers  






what is container?

3 Answers   Infosys, Infotech,


what is catalina in tomcat server.

11 Answers   IBM,


Which characters may be used as the second character of an identifier, but not as the first character of an identifier?

0 Answers  


what is a Daemon Thread?

2 Answers  


What is the difference between a static and a non-static inner class?

0 Answers  


How would you create a button with rounded edges?

0 Answers  


Write a singleton program?

0 Answers  


Categories