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

how convert java file to jar files?

10 Answers   Samsung,


Why is main purpose of XML?

5 Answers  


How two threads will communicate with each other?

2 Answers  


whats is mean by filter?

1 Answers   SolutionNET,


Why use a datasource when you can directly specify a connection details?

0 Answers  


the advantages of polymorphic

1 Answers  


Explain the different types of memory used by jvm?

0 Answers  


Is multiple try block is possible in single java Application......

3 Answers  


how to use debug in my elipse to solve problems that exist in my project

0 Answers   SAP Labs, TCS,


difference between applicationserver and webserver

2 Answers   SolutionNET,


which book is better for jdbc ,servlets and jsp

0 Answers   TCS,


Explain about RMI Architecture?

0 Answers  


Categories