试题详情
- 单项选择题Given that t1 is a reference to a live thread, which is true?()
A、The Thread.sleep() method can take t1 as an argument.
B、The Object.notify() method can take t1 as an argument.
C、The Thread.yield() method can take t1 as an argument.
D、The Thread.setPriority() method can take t1 as an argument.
E、The Object.notify() method arbitrarily chooses which thread to notify.
- E
关注下方微信公众号,在线模考后查看
热门试题