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
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|
Answer / kiran solkar
In Yield an Sleep
which is Not a the method for Inter Thread communication
or reply me on email@example.com
|Is This Answer Correct ?||0 Yes||0 No|
Is jvm a overhead?
What is serialization and de-serialization ?
Difference between swing and awt?
How many requests can a server fetch at a time?
What is the purpose of the notifyall() method?
which of the following authentication is stronger than the others? a. Http Basic b. Http DIGEST c. Form based
Which Taglibraury you used in your project? plz send me ans....which we r using generally
what is a portable component?
whats is mean by object and class?
What state does a thread enter when it terminates its processing?
How are the elements of a cardlayout organized?
What is multi-tasking? Types?