7.10.9.Can you notify Thread1 in among 10 waiting threads so that it alone moves from the Waiting state to the Ready state?
A. Yes. Execute notify(thr1); from within synchronized code.
B. Yes. Execute notify(thr1); from synchronized code of any object.
C. Yes. Execute thr1.notify(); from any code (synchronized or not) of any object.
D. You cannot specify which thread will get notified.