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

What is widening and narrowing in java? Discuss with an example.

1109


What is data type example?

1008


Explain about instanceof operator in java?

1121


Discuss about garbage collector in Java.

1129


What is an object in java and how is it created?

1104


What is a java lambda expression?

1102


Is array size fixed in java?

1028


What is a generic type?

1055


What are variable arguments or varargs?

1067


Explain inheritance in java?

1066


Explain a few methods of overloading best practices in java?

1024


What is appletviewer?

1099


What is the difference between a method and a function in alice?

1283


What is the use of arraylist in java?

1159


Explain java coding standards for interfaces?

1169