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

Explain the advantages of packages in java?

880


Can a top level class be private or protected?

1019


When super keyword is used?

991


Explain the importance of throws keyword in java?

957


Explain restrictions on using enum?

1033


What is a nested class?

1079


When should I use stringbuffer?

977


Give us a program to check for parenthesis matching using stack.

968


What is the purpose of sizeof operator?

1010


What are the different types of collections in java?

936


Why is string class considered immutable?

1018


What is the difference between choice and list?

1062


What are the four versions of java?

981


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

1125


What is a native method in java programming?

1025