What is daemon thread?

Answers were Sorted based on User's Feedback



What is daemon thread?..

Answer / janet

daemon thread is a low priority thread which runs
intermittently in the back ground doing the garbage
collection operation for the java run time system.

Is This Answer Correct ?    2 Yes 0 No

What is daemon thread?..

Answer / manikandan [ gtec,vellore ]

what said above is correct and it can b created by using
method setDemon()

Is This Answer Correct ?    2 Yes 0 No

What is daemon thread?..

Answer / vikki

daemon threads are created by the JVM unlike normal threads
which are created by the user.
The daemon threads provides services to the user-created
threads and they run in the background.
Hence to set them u have to write threadname.setDaemon
(true) and to check whether a thread is a daemon thread or
not you write isDaemon().

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

What is UniCastRemoteObject and what is its use in RMI?

6 Answers  


Connection Pooling with different type of databases?

1 Answers  


What is a task?s priority?

1 Answers  


What is TL and its use?

0 Answers  


what is the difference between System.out.println and out.println in java

10 Answers   CTS,






How has the sandbox changed with Java 2?

2 Answers  


Is jvm a overhead?

0 Answers  


the use of try and ffinally keyword

1 Answers  


What are the different algorithms used for clustering?

0 Answers  


what is Static binding?

2 Answers   Wipro,


What is the diffrence between a local-tx-datasource and a xa-datasource? Can you use transactions in both?

0 Answers  


what are RemoteObjects?

0 Answers   Wipro,


Categories