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 the methods used for inter-thread communication?
and in what class these methods are defined?

Answers were Sorted based on User's Feedback



What are the methods used for inter-thread communication? and in what class these methods are defi..

Answer / ranganathkini

The methods used for inter-thread communication are:

1. wait() - causes thread to wait until another thread calls
the notify() or notifyAll() methods.
2. notify() - wakes up any thread waiting on this object
notifyAll() - wakes up all threads waiting on this object

These methods are a part of the java.lang.Object class.

Is This Answer Correct ?    17 Yes 2 No

What are the methods used for inter-thread communication? and in what class these methods are defi..

Answer / kiran solkar

In Yield an Sleep
which is Not a the method for Inter Thread communication
plzz answerr
or reply me on kiransolkar@gmail.com

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Advanced Java Interview Questions

What is the form of storage space in java?

0 Answers  


what is difference between checked exception & unchecked exception in java?

3 Answers   Ness Technologies,


How many layers are there in RMI and what are they?

1 Answers  


What is a tasks priority and how is it used in scheduling?

0 Answers  


What is difference RMI registry and OSAgent?

1 Answers  


What is source and listener?

1 Answers  


What is RRL?

1 Answers  


What is difference between object state and behavior?

0 Answers  


Describe activation process?

0 Answers  


difference between HashMap, Hashset and hashTable?

2 Answers   HCL, Infotech,


Why are component architectures useful?

0 Answers  


Can we sent objects using Sockets?

0 Answers  


Categories