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 modifiers may be used with an inner class that is a member of an outer class?

0 Answers  


What are externizable interface?

0 Answers  


what is Activation Instantinator?

0 Answers  


Is the session factory thread safe?

0 Answers  


What is the argument type of a programs main() method?

0 Answers  


Thread life cycle?

3 Answers   TCS,


Which container method is used to cause a container to be laid out and redisplayed?

0 Answers  


What is JasperReports?

2 Answers  


Why are some of the class and element names counter-intuitive?

0 Answers  


When is the best time to validate input?

0 Answers  


What is the lifecycle of an applet?

2 Answers  


Dear freinds... I want to know how to write self mapping for a table using hibernate?

1 Answers   Cap Gemini,


Categories