Click here - / @interviewdot to get notifications. JOB VACANCIES IN TOP IT / NOT-IT COMPANIES
UPLOAD YOUR RESUME IN 1 MINUTE ! ! !
http://www.interviewdot.com/upload-re...
http://www.interviewdot.com http://www.interviewdot.com http://www.interviewdot.com
Welcome to www.InterviewDot.com How to for java prepare for Interview Questions :
What is the difference between java thread and daemon thread ? Explain-- Java Interview Questions and Answers.
What is the difference between java thread and daemon thread ? Explain
The difference between user thread and daemon thread is that the JVM exits an application only when all user threads are complete.
The JVM does not care about letting daemon threads complete, so once all the user threads are complete, the JVM will shut down, regardless of the state of any daemon threads.
User thread :
Main()
Daemon thread :
the clock handler thread,
the idle thread,
the garbage collector thread,
the screen updater thread,
How to make a user thread as daemon thread ? setDaemon(true) API
How to identify a thread is daemon thread or not ? You can use "isDaemon()" API
For more Interview questions and answers - logon to www.InterviewDot.com - India's Top Interview Guide.
http://www.interviewdot.com http://www.interviewdot.com http://www.interviewdot.com
On this page of the site you can watch the video online what is the difference between java user thread and daemon thread java interview with a duration of hours minute second in good quality, which was uploaded by the user Interview DOT 12 October 2012, share the link with friends and acquaintances, this video has already been watched 2,366 times on youtube and it was liked by 3 viewers. Enjoy your viewing!