Answer Posted / 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 View All Answers
What is the difference between long.class and long.type?
Should synchronization primitives be used on bean methods?
What are various types of class loaders used by jvm?
What is aop(assepct oriented programing)?
Why do I get a duplicate name error when loading a jar file?
What is threadfactory?
Which container method is used to cause a container to be laid out and redisplayed?
What if the static modifier is removed from the signature of the main method?
Difference between hashmap and hashtable?
Will the general public have access to the infobus apis?
Where can I find seam examples and documentation?
What method is invoked to cause an object to begin executing as a separate thread?
What is a class loader?
Are we allowed to change the transaction isolation property in middle of a transaction?
What is Stream Tokenizer?