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 are JSP tags? what is difference between include action and directory?
What is difference between object state and behavior?
How has the sandbox changed with Java 2?
What class is the top of the awt event hierarchy?
Explain the different types of memory used by jvm?
What is rmic?
whats is mean by filter?
whats is mean by class.forName() whats the return type of class
Is jvm a overhead?
What is the difference between the session.update() method and the session.lock() method?
What is the difference between the font and fontmetrics classes?
Why a client should be multithreading? Explain.