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 are the different conditional statements?

1049


Can a class be declared as static?

1222


When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?

1293


Can we call virtual funciton in a constructor ?

2239


Which software is used for java programming?

1081


What does index mean in java?

1038


Explain importance of inheritance in java?

1082


How do you print array in java?

1048


Is arraylist ordered in java?

1173


What are the features in java?

1125


Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?

1289


Describe the Big-O Notation.

1100


What are the changes in java.io in java 8 ?

1082


Explain about oops concepts.

1173


How can we make a class singleton?

1126