A)
->a thread is said to be a daemon thread, if it dies as soon as its parent thread dies.
->a thread is said to be a daemon thread, if it dies as soon as its parent thread dies.
->daemon Threads are in general, “service threads”.
->garbage collector is a classoico example for daemon Thread.
->we can make a user defined Thread as daemon thread by calling setDaemon(true) on the Thread object.
->A thread is known as “user thread” which doesn’t die even if its parent Thread dies.
->depending upon life span it is two types.
Comments
Post a Comment