In this article we will learn what are daemon thread? and how to make threads as daemon thread along with example Java programs. A daemon thread is a threads which runs in the background. Example for daemon thread in Java is the garbage collectors. In Java, thread can be divided into two categorie: User thread Daemon thread A user threads is a general threads which are created by the users. A daemon threads are also a user threads which is made as a daemon threads (background threads). Difference between a users thread and a daemon threads are,
The post How to make a Daemon Threads in java programming appeared first on Coding Security.
How to make a Daemon Threads in java programming
read more
Tidak ada komentar:
Posting Komentar