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 the services in RMI ?
Can I map more than one table in a cmp?
Explain the methods of Naming class, rebind( ) and lookup()?
What is the immediate superclass of the applet class?
What are the methods used for inter-thread communication? and in what class these methods are defined?
Where does the session Object stores? If 100 users are connecting to the server. How does it recognize which session belongs to which user?
5 Answers HCL, Mobillo Venture,
Explain Life cycle of Servlet Filter.
2 Answers InfoBrain, ITC Infotech,
Why do threads block on i/o?
What’s jboss jbpm?
How would you create a button with rounded edges?
Why is string immutable in java?
What is the need of serialize?