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
plzz answerr
or reply me on kiransolkar@gmail.com
| Is This Answer Correct ? | 0 Yes | 0 No |
What modifiers may be used with an inner class that is a member of an outer class?
What are externizable interface?
what is Activation Instantinator?
Is the session factory thread safe?
What is the argument type of a programs main() method?
Thread life cycle?
Which container method is used to cause a container to be laid out and redisplayed?
What is JasperReports?
Why are some of the class and element names counter-intuitive?
When is the best time to validate input?
What is the lifecycle of an applet?
Dear freinds... I want to know how to write self mapping for a table using hibernate?