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 is re-entrant. Is session beans reentrant. Is entity beans reentrant?
Explain how will the struts know which action class to call when you submit a form?
How many JSP scripting elements and what are they?
What is the difference between Process and Threads?
what are RemoteObjects?
difference between applicationserver and webserver
What is the difference between session and entity beans?
whats is mean by tiles in struts
What is diffennce between AWT & SWING?
What is RRL?
What is Stream and Types?
diff mvc1 and mvc2 wahts is mean by servlet chaining?