what is a Daemon Thread?

Answers were Sorted based on User's Feedback



what is a Daemon Thread?..

Answer / guest

Threads that work in the background to support the runtime
environment are called daemon threads. For example, the
clock handler thread, the idle thread, the screen updater
thread, and the garbage collector thread are all daemon
threads. The virtual machine exits whenever all non-daemon
threads have completed. The daemon threads are then all
automatically stopped when the JVM shuts down.

Is This Answer Correct ?    12 Yes 0 No

what is a Daemon Thread?..

Answer / sachin kumar

The Threads those gets automatically stopped when Java
virtual machine gets off, are called Daemon Threads.

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

What is Remote Server?

0 Answers   TCS,


To identify IDL language what mapping mechanism is used?

0 Answers  


How will you pass parameters in RMI? Why do you serialize?

0 Answers  


What is an abstract method?

0 Answers  


What is the difference between static and non-static with examples?

0 Answers   HCL,






Why does the option tag render selected=selected instead of just selected?

0 Answers  


int x=5,i=1,y=0; while(i<=5) { y=x++ + ++x; i=i+2; } System.out.println(x); System.out.println(y); System.out.println(i); How to solve this? Please explain!

0 Answers  


What is the purpose of the notifyall() method?

0 Answers  


What is Stream Tokenizer?

0 Answers   TCS,


What is aop(assepct oriented programing)?

0 Answers  


How messaging services are done, before release of JMS?

0 Answers  


how team leaders assign work for the team member like through papers,word document

1 Answers   TCS,


Categories