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 |
Define the remote interface?
what are the advantages of JTA over JTS?
Can I use javascript to submit a form?
what is singleton class? where it mainly used in the projects?
Is there a guarantee of uniqueness for entity beans?
Is multiple try block is possible in single java Application......
Can you write Java code for declaration of multiple inheritance in Java ?
Explain how will the struts know which action class to call when you submit a form?
What are the implicit objects?
What is the return type of interrupt method?
what are the activation groupworks?
What are the high-level thread states?