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
Sur cette page du site, vous pouvez voir la vidéo en ligne what is the difference between java user thread and daemon thread java interview durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Interview DOT 12 octobre 2012, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,366 fois et il a aimé 3 téléspectateurs. Bon visionnage!