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
Are there books about seam?
What are callback interfaces?
How substring() method of string class create memory leaks?
What is the relationship between the canvas class and the graphics class?
Which are the different segments of memory?
What is mdb and what is the special feature of that?
What is the purpose of the finally clause of a try-catch-finally statement?
In RMI, inorder to sent the stub reference to the client, is we have to load the server object first into the memory or can we directly sent reference to the client?
what is an isolation level?
What are the benefits of detached objects?
What is in-memory replication?
why static class in java
What is the purpose of the notifyall() method?
What value does readline() return when it has reached the end of a file?
Do we need to override service() method