Answer Posted / ranganathkini
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 |
Post New Answer View All Answers
What is a policy?
How to determine SGA site?
What is the map interface?
What event results from the clicking of a button?
Are enterprise beans allowed to use thread.sleep()?
Define prototype?
What are the different class loaders used by jvm?
Explain the steps in details to load the server object dynamically?
Is a class a subclass of itself?
What happens when a thread cannot acquire a lock on an object?
Why are some of the class and element names counter-intuitive?
which book is better for jdbc ,servlets and jsp
Name the class that is used to bind the server object with RMI Registry?
What is re-entrant. Is session beans reentrant. Is entity beans reentrant?
What is Remote Server?