Rabu, 20 Juli 2016

What are Daemon Threads in java

In this article we will learn what are daemon threads? and how to make thread as daemon thread along with example Java program.   A daemon thread is a thread which runs in the background. Example for daemon thread in Java is the garbage collector. In Java, thread can be divided into two categories: User threads Daemon threads   A user thread is a general thread which is created by the user. A daemon thread is also a user thread which is made as a daemon thread (background thread).   Difference between a user thread and a daemon thread is,

The post What are Daemon Threads in java appeared first on Coding Security.


What are Daemon Threads in java
read more

Tidak ada komentar:

Posting Komentar