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 do you mean by stream pipelining in java 8?

1175


What are different access specifiers in java? Explain

1076


Difference between object instantiation and construction ?

1034


What is the difference between JDK and JVM?

1208


Can we convert stringbuilder to string in java?

951


What does += mean in java?

1031


What is an immutable object? How do you create one in java?

1034


How many bytes is a char in java?

987


Can I overload to string method

1410


How do you access command-line arguments within the code?

1015


What is the mapping mechanism used by java to identify IDL language?

974


Difference between abstract and concrete class ?

1110


What are the 2 types of java programs?

1064


Explain the concept of proper inheritance?

1025


How do you initialize an arraylist in java?

996