what is the difference between java user thread and daemon thread java interview
2,366 views · Published 13 October 2012 · 2:05 · Indexed 15 October 2026
Channel: Interview DOT · 2012 · Science & Technology
Click here - https://www.youtube.com/channel/UCd0U_xlQxdZynq09knDszXA?sub_confirmation=1 to get notifications. JOB VACANCIES IN TOP IT / NOT-IT COMPANIES UPLOAD YOUR RESUME IN 1 MINUTE ! ! ! http://www.interviewdot.com/upload-resume/uploadresume.htm 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
More from this channel
-
7:19
java pass by value
-
3:19
java interview best books
-
8:03
Explain java finally block
-
4:29
what are the advantages of OOPL Java Interview
-
5:51
Top 4 Job Interview Tips How to prepare for Job interview
-
5:29
Top Job Interview TIPS What are your strengths How to answer
-
3:49
Top 16 Job Interview Questions Best Job Interview Questions
-
3:52
Core Java Interview Questions and Answers Collections Interview Tips