in Technology by

Why JVM terminates the daemon thread if there is no user thread?

1 Answer

0 votes
by

The sole purpose of the daemon thread is that it provides services to user thread for background supporting task. If there is no user thread, why should JVM keep running this thread. That is why JVM terminates the daemon thread if there is no user thread.

Related questions

0 votes
    WAP in java to input 3 numbers from user and print the largest no. among them using nested if. Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    Why does JVM come up automatically though I stop/kill the process manually?...
asked Jun 11, 2021 in Technology by JackTerrance
0 votes
    In a network, If P is the only packet being transmitted and there was no earlier transmission, which of the ... B. Queuing delay C. Transmission delay D. Processing delay...
asked Jan 9, 2023 in Technology by JackTerrance
0 votes
    What are the default values for the packaging element? If there is no packaging element defined? What is the default value for that?...
asked May 4, 2021 in Technology by Editorial Staff
0 votes
    What are you going to do if there is no Functional Spec or any documents related to the system and developer who wrote ... company anymore, but you have a system and need to test?...
asked Oct 17, 2020 in Technology by JackTerrance
0 votes
    A network will be useful only if, it leads to equilibrium state at which there is no change of state? ( ... Synaptic Dynamics of Neural Networks Please answer the above question....
asked Sep 5, 2022 in Education by JackTerrance
0 votes
    As I understand it, if there are only messages with a timestamp for the future in a MessageQueue, the ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 2, 2022 in Education by JackTerrance
0 votes
    What is it called if an object has its own lifecycle and there is no owner? (a) Aggregation (b) ... programming questions and answers pdf, java interview questions for beginners...
asked Oct 26, 2021 in Education by JackTerrance
0 votes
    In a multi user multi-threaded environment, thread safety is important as one may erroneously gain access to another ... (1)OS commands (2)Race conditions (3)Session Integrity...
asked May 17, 2021 in Technology by JackTerrance
0 votes
    I am new to Redis and using Spring Boot + Spring Data Redis example. In this example, I used the ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 1, 2022 in Education by JackTerrance
0 votes
    write a program in python to find the greatest of three no. given by user Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    What are the differences between Daemon Logging and Container Logging?...
asked Jun 20, 2021 in Technology by JackTerrance
0 votes
    What is the name of the virtual Ethernet bridge that is created at the start of Docker Daemon? (1)docker1 (2)docker00 (3)docker2 (4)docker0...
asked May 2, 2021 in Technology by JackTerrance
0 votes
    What is Docker Daemon? (1)It is the latest feature added to Docker. (2)It is the unauthorized access ... is a continuous long-running program responsible for managing containers....
asked May 2, 2021 in Technology by JackTerrance
0 votes
    Docker Daemon and Docker Client use the same binary. (1)True (2)False...
asked May 2, 2021 in Technology by JackTerrance
...