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
Can you give me a simple example of using the requiredif validator rule?
What modifiers may be used with an interface declaration?
Brief description about local interfaces?
Why a component architecture for the java platform?
What are the pros and cons of detached objects?
What is the highest-level event class of the event-delegation model?
How would you reatach detached objects to a session when the same object has already been loaded into the session?
Explain the advantages and disadvantages of detached objects.
Where can I ask questions and make suggestions about seam?
How can I scroll through list of pages like the search results in google?
What you mean by COM and DCOM?
Why use a datasource when you can directly specify a connection details?
What is a sessionfactory? Is it a thread-safe object?
How can I avoid validating a form before data is entered?
Why is string immutable in java?