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?

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


Please Help Members By Posting Answers For Below Questions

Will the general public have access to the infobus apis?

1047


Can I use multiple html form elements with the same name?

1055


Explain what is synchronization?

1095


Explain about RMI Architecture?

1078


What restrictions are placed on the values of each case of a switch statement?

1014


Where can I ask questions and make suggestions about seam?

1057


What is chat area? Explain.

1021


when A client sent a request to the server to open facebook page and close the browser after this request .at that time the same user do login by using a different browser then that session id will exist or not for the same client??

1542


How to implement RMI in Java?

2870


What are the call back methods in entity bean?

1072


What is threadfactory?

1098


Name the eight primitive java types.

1127


How primary key is implemented in Oracle?

2446


Why are some of the class and element names counter-intuitive?

1144


which book is better for jdbc ,servlets and jsp

2103