Explain daemon thread.



Explain daemon thread...

Answer / Deepika Sengar

A daemon thread is a type of thread that runs in the background and supports other threads. By default, a thread created with the Java virtual machine (JVM) is a user thread and not a daemon thread. If no user threads are left running, the JVM exits.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Java Related AllOther Interview Questions

What happens when you omit a brace or misspell one of the words, like public or

1 Answers  


What is stateful in java?

1 Answers  


What are jpa repositories?

1 Answers  


What are the types of cookies in java?

1 Answers  


How do I install eclipse?

1 Answers  


What is stateless class in java?

1 Answers  


What is dependency injection in java?

1 Answers  


Can I have multiple main methods in the same class?

1 Answers  


Explain the encapsulation principle.

1 Answers  


What is web xml java?

1 Answers  


What services can invoke lambda?

1 Answers  


What is a java singleton?

1 Answers  


Categories