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 is the life cycle of Thread ?

Answer Posted / shajin.a.xavier

Multithreading is the mechanism in which more than one
thread run independent of each other within the process.
wait (), notify () and notifyAll() methods can be used for
inter-thread communication and these methods are in Object
class. wait() : When a thread executes a call to wait()
method, it surrenders the object lock and enters into a
waiting state. notify() or notifyAll() : To remove a thread
from the waiting state, some other thread must make a call
to notify() or notifyAll() method on the same object.

Is This Answer Correct ?    16 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is internal iteration in java se 8?

1179


What is the difference between iterator and list iterator?

1016


What are alternatives to java serialization?

1101


Explain java coding standards for constants?

997


What is the access scope of a protected method?

1008


What is the use of object and class classes?

1027


Can we override protected method in java?

1039


What is better- service oriented or batch oriented solutions?

2195


What is thread safe java?

896


What are the two environment variables that must be set in order to run any java programs?

949


Can two objects have same hashcode?

982


How do you compare objects in java?

928


Difference between overriding and overloading in java?

1051


Give the hierarchy of inputstream and outputstream classes.

1084


What is currentthread()?

970