Which statements concerning the methods notify() and notifyAll() are true?
A. Instances of class Thread have a method called notify().
B. call to the method notify() will wake the thread that currently owns the monitor of the object.
C. The method notify() is synchronized.
D. The method notifyAll() is defined in class Thread.
E. When there is more than one thread waiting to obtain the monitor of an object, there is no way to be sure which thread will be notified by the notify() method.
查看答案
该试题由用户560****84提供
查看答案人数:3275
如遇到问题请
联系客服
正确答案
该试题由用户560****84提供
查看答案人数:3276
如遇到问题请联系客服