---
title: "What is difference between user Thread and daemon Thread?"  
description: "What is difference between user Thread and daemon Thread?"  
author: "Anonymous User"  
published: 2015-01-26  
updated: 2020-09-21  
canonical: https://www.mindstick.com/interview/2310/what-is-difference-between-user-thread-and-daemon-thread  
category: "java"  
tags: ["thread"]  
reading_time: 1 minute  

---

# What is difference between user Thread and daemon Thread?

When we create a Thread in java program, it’s known as user thread. A daemon thread runs in background and doesn’t prevent JVM from terminating. When there are no user threads running, JVM shutdown the program and quits. A child thread created from daemon thread is also a daemon thread.

## Answers

### Answer by Anonymous User

When we create a Thread in java program, it’s known as user thread. A daemon thread runs in background and doesn’t prevent JVM from terminating. When there are no user threads running, JVM shutdown the program and quits. A child thread created from daemon thread is also a daemon thread.


---

Original Source: https://www.mindstick.com/interview/2310/what-is-difference-between-user-thread-and-daemon-thread

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
