What is daemon thread?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
Can constructors be synchronized in java?
How will the struts know which action class to call when you submit a form?
explain session tracking. why we used it
whether the connectionpooling used in struts?
In connection pool,when 100 clients are requesting, in pool 100 objects is there, when another client is making request how it will work
what is container?
what is catalina in tomcat server.
Which characters may be used as the second character of an identifier, but not as the first character of an identifier?
what is a Daemon Thread?
What is the difference between a static and a non-static inner class?
How would you create a button with rounded edges?
Write a singleton program?