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

Do I have to use jsps with my application?

0 Answers  


the same information whether it will connect to the database or it will be used previous information?

0 Answers  


Is it possible to stop the execution of a method before completion in a sessionbean?

0 Answers  


Explain what is orm?

0 Answers  


Is jvm a overhead?

0 Answers  


Why threads will block on I/O?

2 Answers  


what are design patterns in java?give with example?

2 Answers   HCL, iGate,


What is Connection Pooling?

1 Answers   Enteg Technologies, Infosys, Polaris,


What is checkpoint? How to create checkpoints in our java projects?

1 Answers   ABC,


What is synchronization and why is it important?

0 Answers  


What will happens, when a thread cannot acquire a lock on an object?

2 Answers  


What is permgen or permanent generation?

0 Answers  


Categories