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 are depricated methods in threads and explain the
lifecycle methods

Answer Posted / dara

There are two deprecated methods in threads.
1.resume
2.suspend.
life cycle of methods of thread.
1.ready to run(start() method)
2.run(run() method)
3.suspend(wait() or sleep() method)
4.resume(notify() or notifyall() method)
5.death.

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of java languages?

929


Which sorting algorithm is in place?

903


When should I use stringbuffer?

956


What is the difference between static class and normal class?

979


What is a buffer in java?

971


is there a separate stack for each thread in java? : Java thread

929


Can we print null in java?

997


What are the 3 types of loops in java?

987


Can memory leak in java?

982


What are the restrictions that are applied to the java static methods?

927


What is entry in java?

968


Define max and min heap, also the search time of heap.

986


When do we use synchronized blocks and advantages of using synchronized blocks?

1174


What is nullpointerexception?

983


What is string literal in java?

995