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
Do I have to use jsps with my application?
What class is used to create Server side object ?
difference between ejb,struts,hibernate,spring and jsp
How to implement dphibernate to activate lazy loading in Flex with java ?thanx in advance!
what is handle?
Why do I get a duplicate name error when loading a jar file?
Which are the different segments of memory?
What you mean by COM and DCOM?
What is the difference between ear, jar and war file?
What is a class loader? What are the different class loaders used by jvm?
Why use POJO when I can use hashmap
Name the eight primitive java types.
What is an abstract method?
What is the difference between system.out ,system.err and system.in?
what are the advantages of JTA over JTS?