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
how to use debug in my elipse to solve problems that exist in my project
Should synchronization primitives be used on bean methods?
What is the immediate superclass of the applet class?
Why do I get a duplicate name error when loading a jar file?
What is the difference between session and entity beans?
Which component handles cluster communication in jboss?
What are the benefits of detached objects?
Explain ioc concept?
What are transaction attributes?
Do we need to override service() method
wahts is mean by dynavalidatorform in struts/
What happens when a thread cannot acquire a lock on an object?
Why won’t the jvm terminate when I close all the application windows?
What is re-entrant. Is session beans reentrant. Is entity beans reentrant?
what is a non-repeatable read?