What method is used to create the daemon thread?
the Thread.setDaemon() has to be invoked. It takes one
boolean param indicating if the thread is a daemon thread
or not. the setDaemon() has to invoked before the start()
method is called on the thread, else an
IllegalThreadStateException is throw indicating that the
thread is active and its daemon state cannot be altered.
| Is This Answer Correct ? | 5 Yes | 0 No |
What is the map interface?
What is the purpose of the notify() method?
What exceptions are thrown by RMI?
What is the relationship between the canvas class and the graphics class?
How can a dead thread be restarted?
what is the Scope of Final Keyword in Java?
What is Connection Pooling?
1 Answers Enteg Technologies, Infosys, Polaris,
How task's priority is used in scheduling?
Tell me about Firewalls in RMI?
What does module-relative mean?
What is the purpose of the notifyall() method?
What are the difference between RMI and CORBA?