fooandbararepublicreferencesavailabletomanyotherthreads.fooreferstoaThreadandbarisanObject.Thethreadfooiscurrentlyexecutingbar.wait().Fromanotherthread,whichstatementisthemostreliablewaytoensuethatfoowillstopexecutingwait()?A.foo.notify();B.bar.notify();C.foo.notifyAll();D.Thread.notify();E.bar.notiFYAll();F.Object.notify();

fooandbararepublicreferencesavailabletomanyotherthreads.fooreferstoaThreadandbarisanObject.Thethreadfooiscurrentlyexecutingbar.wait().Fromanotherthread,whichstatementisthemostreliablewaytoensuethatfoowillstopexecutingwait()?

A.foo.notify();

B.bar.notify();

C.foo.notifyAll();

D.Thread.notify();

E.bar.notiFYAll();

F.Object.notify();


相关考题:

TCP报文段校验时也需要象UDP协议那样增加一个伪首部。 A.错误B.正确

在收集学生反馈时,评估问题越多、越细致、评估的结果就越理想。() 此题为判断题(对,错)。

锦江之星订房中心的主要职能是()。 A.客户预订B.客户投诉接听C.客户咨询服务D.加盟商服务

用户话机经过电缆连接到主配线架MDF(横列),交换机用户交换模块LSM中的硬件用户电路LIB经过电缆也连接到MDF(直列)。() A.错误B.正确

为了实现Windows98与Windows2000双引导,并且能充分利用磁盘空间,C盘的文件系统格式为() A.FAT16B.FAT32C.NTFSD.CDFS

木杆杆根周围()毫米内无杂草,无积水坑,培土坚实牢固。 A.300B.400C.500D.600

在大多数数字通信系统中,通常都选择()信号作为载波。 A.正弦B.正切C.方波D.脉冲