Which of the following statements is correct regarding sleep and waitAsleep is a method called by a thread object; wait is a method called by a lock objectBNone of the above statements are correctCwai
D. Both wait() and sleep() are methods called by thread objects.
原文地址: http://www.cveoy.top/t/topic/fn1n 著作权归作者所有。请勿转载和采集!