How can you specify which thread is notified with the wait/notify protocol?
1) Pass the object reference as a parameter to the notify method
2) Pass the method name as a parameter to the notify method
3) Use the notifyAll method and pass the object reference as a parameter
4) None of the above
Choices:
Pass the object reference as a parameter to the notify method (0 votes)
Pass the method name as a parameter to the notify method (0 votes)
Use the notifyAll method and pass the object reference as a parameter (0 votes)
None of the above (1 vote)