Whichtwoof statementsaretrue?()

A.Itispossibletosynchronizestaticmethods. B.Whenathreadhasyieldedasaresultofyield(),itreleasesitslocks. C.Whenathreadissleepingasaresultofsleep(),itreleasesitslocks. D.TheObject.wait()methodcanbeinvokedonlyfromasynchronizedcontext. E.TheThread.sleep()methodcanbeinvokedonlyfromasynchronizedcontext. F.Whenthethreadschedulerreceivesanotify()request,andnotifiesathread,thatthreadimmediatelyreleasesitslock.

时间:2024-01-16 11:48:00

相似题目