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

Can we define constructors in Servlet?

3 Answers   Accenture, Opus, Wipro,


Can I import same package/class twice? Will the jvm load the package twice at runtime?

0 Answers  


Difference between swing and awt?

0 Answers  


what is activation monitor and what is its job?

1 Answers  


What is Stream Tokenizer?

0 Answers   TCS,


How do u supress the parameters from the displaying in the url?

2 Answers  


What are various types of class loaders used by jvm?

0 Answers  


Explain what is orm?

0 Answers  


Explain what is synchronization?

0 Answers  


which book is better for jdbc ,servlets and jsp

0 Answers   TCS,


What restrictions are placed on the location of a package statement within a source code file?

0 Answers  


What is mdb and what is the special feature of that?

0 Answers  


Categories