Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What method is used to create the daemon thread?



What method is used to create the daemon thread?..

Answer / 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

More Advanced Java Interview Questions

A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions

0 Answers  


what is singleton class? where it mainly used in the projects?

5 Answers   Satyam, Wipro,


Why is main purpose of XML?

5 Answers  


How would you reatach detached objects to a session when the same object has already been loaded into the session?

0 Answers  


What is the purpose of the wait(), notify(), and notifyall() methods?

0 Answers  


Can I run seam outside of jboss as?

0 Answers  


explain session tracking. why we used it

3 Answers   Lionbridge,


What is a policy?

0 Answers  


Java is fully object oriented languages or not?

0 Answers  


Which Taglibraury you used in your project? plz send me ans....which we r using generally

2 Answers  


What is ioc concept?

0 Answers  


Differences between applications and applets?

3 Answers  


Categories