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
答案解析:有
微信扫一扫手机做题