5.What is the effect of issuing a wait() method on an object a.If a notify() method has already been sent to that object then it has no effect b.The object issuing the call to wait() will halt until another object sends a notify() or notifyAll() method c.An exception will be raised d.The object issuing the call to wait() will be automatically synchronized with any other objects using the receiving object.
The answer given is b. I think none of the options are correct. Am I right? Thanks.
posted 13 years ago
Yes you are right I would have said: the thread issuing the call to wait...