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 |
How are the elements of a cardlayout organized?
What is the lifecycle of an applet?
What is a tasks priority and how is it used in scheduling?
can any one tell me how to learn good coding techniques
What is the need of serialize?
If your ui seems to freeze periodically, what might be a likely reason?
What are different types of layout managers in java.awt package?
What is bean? Where can it be used?
What is the immediate superclass of the applet class?
What are the various thread priorities?
What is preemptive and Non-preemptive Time Scheduling?
How database connectivity in XML is achieved?