易搜题 > 资格证大类 > 计算机编程 > 问题详情
问题详情

Which two CANNOT directly cause a thread to stop executing?()

A

 Calling the yield method.

B

 Calling the wait method on an object.

C

 Calling the notify method on an object.

D

 Calling the notifyAll method on an object.

E

 Calling the start method on another Thread object.

未找到的试题在搜索页框底部可快速提交,在会员中心"提交的题"查看可解决状态。 收藏该题
查看答案

相关问题推荐

  • 计算机感染特洛伊木马后的典型现象是(45)。

    A.程序异常退出

    B.有未知程序试图建立网络连接

    C.邮箱被垃圾邮件填满

    D.Windows系统黑屏

  • public class test (   private static int j = 0;     private static boolean methodB(int k) (  j += k;    return true;   )    public static void methodA(int i) {    boolean b:   b = i 

    A、 The program prints “0”

    B、 The program prints “4”

    C、 The program prints “8”

    D、 The program prints “12”

    E、 The code does not complete.

  • Which determines if “prefs” is a directory and exists on the file system?()  

    A、 Boolean exists=Directory.exists (“prefs”);

    B、 Boolean exists=(new File(“prefs”)).isDir();

    C、 Boolean exists=(new Directory(“prefs”)).exists();

    D、 Boolean exists=(new File(“prefs”)).isDirectory();

    E、 Boolean exists=true;  Try{  Directory d = new Directory(“prefs”);  } catch (FileNotFoundException e) {  exists = false;  }

  • 25.intx=12;  26. while (x 

    A、 0

    B、 10

    C、 12

    D、 Line 29 will never be reached.

  • Which two are valid declarations within an interface definition?() 

    A

     void methoda();

    B

     public double methoda();

    C

     public final double methoda();

    D

     static void methoda(double d1);

    E

     protected void methoda(double d1);

联系客服 会员中心
TOP