欢迎来到在线考试题库网 在线考试题库官网
logo
全部科目 > Oracle认证考试 > OCJP(310-065)

多项选择题

Given that Triangle implements Runnable, and:

Which two statements, inserted independently at both lines 35 and 41, tend to allow both threads totemporarily pause and allow the other thread to execute?()

    A.Thread.wait();
    B.Thread.join();
    C.Thread.yield();
    D.Thread.sleep(1);
    E.Thread.notify();

点击查看答案

相关考题

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题