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 JasperReports?

2 Answers  


what is a dirty read?

1 Answers  


Is the infobus client side only?

0 Answers  


which deployment descriptor element is used to configure the authentication method? a. auth-config b. login-config c. sec-config

1 Answers  


what is stringBuffer and StringBuilder?

3 Answers  






How primary key is implemented in Oracle?

0 Answers  


What is the return type of interrupt method?

2 Answers  


How to add new JTabbed pane?

1 Answers  


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

6 Answers   HeadStrong,


Why do I get a duplicate name error when loading a jar file?

0 Answers  


Which class is the immediate superclass of the menucomponent class?

0 Answers  


What is private static final long serialVersionUID = 1L;

3 Answers   Google,


Categories