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

Should synchronization primitives be used on bean methods?

0 Answers  


What is servlet preinitialization?

3 Answers   iFlex,


What are the steps involved in developing an RMI object?

1 Answers  


What is Remote Interface?

1 Answers  


Do I have to use jsps with my application?

0 Answers  


whats is statement and procedure

0 Answers   TCS,


Which class is the immediate superclass of the menucomponent class?

0 Answers  


What is daemon thread?

3 Answers  


What is ioc concept?

0 Answers  


Can we define constructors in Servlet?

3 Answers   Accenture, Opus, Wipro,


Difference between sleep and suspend?

3 Answers  


What is the relationship between an event-listener interface and an event-adapter class?

0 Answers  


Categories