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

What are the call back methods in entity bean?

1024


What is the difference between a menuitem and a checkboxmenuitem?

1047


Can we sent objects using Sockets?

1098


Do we need to override service() method

1668


What is the purpose of the notifyall() method?

997


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

986


What are the different methods of identifying an object?

1025


Is the ternary operator written x : y ? Z or x ? Y : z ?

1060


How to determine SGA site?

2488


What are JTA/JTS and how they used by client?

2187


Will the general public have access to the infobus apis?

1012


we use MainFrame and using os390 for operating system with DB2 data base in IRAN and interest programing with java and use webspere for world wide,please help me where i should start?

2379


What are externizable interface?

1019


What is the difference between the ‘font’ and ‘fontmetrics’ class?

1119


which book is better for jdbc ,servlets and jsp

2057