I found this question in planet java mock exam . I belive ans is C and B ,because when wait() is excuted it will result in exception raised. but as per the java planet ans is B.
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.
Why do you think an exception will be raised if wait() method is called? Call to wait() method should be in try/catch block to handle InterruptedException if some other thread or some thing else interuppts this thread which is in waiting state.