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 / prerana

The depricated methods in threads are
1. stop
2. suspend
3. Resume

Life cycle of thread
A thread can be only in one of the five states
1. New (Not alive)
2. Runnable (alive)
3. Running
4. Waiting/Blocking/Sleeping
5. Dead

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you write a scanner class in java?

958


What is indexof in java?

941


What are the classes of java?

922


If an application has multiple classes in it, is it okay to have a main method in more than one class?

970


What are loops in java?

1164


Difference between stack and queue?

1016


What if I write static public void instead of public static void in java?

1031


What is empty list in java?

1028


Is void a return type?

903


What is a platform?

992


What is t in parametric equations?

946


What is a class variable?

984


What is a “stateless” protocol ?

940


What are the main differences between notify and notifyAll in Java?

1042


What is treeset in java?

943