15. Java把class类型的变量看作是() A. 引用 B. 指针 C. 常量 D. 内存首地址 ...
6. void write(byte b[],int off,int len)方法中off参数的作用是? A. 从第off字节开始写入数据流 B. 从第off个bit开始写入数据流 C. 从第off个字开始写入数据流 D. 从第0字节开始写入数据流off个字节 ...
45. Thread.currentThread().stop();语句的作用是? A. 当前正在运行的线程挂起 B. 当前正在运行的线程终止 C. 当前正在运行的线程休眠 D. 当前正在运行的线程重新启动 ...
38. 阅读下面程序 String s="Hello";String t=s;t="1234"t代表的字符串为 A. null B. 1234 C. Hello D. H ...
29. public class student {private String name;} public class boystudent extends student { } public class girlstudent extends student { } 上述定义( ) A. 正确 B. 错误,Java不允许多重继承 C. 错误 boy和girl应该用 D. 隔开 E. 错误,应该使用im...
23. 显式成员初始化和构造方法哪个先被执行? A. 显式的成员初始化 B. 构造函数 C. 不一定 D. 同时 ...
16. Java中int类型的变量占几个字节的内存? A. 1 B. 2 C. 4 D. 8 ...
10.
6. 除数为0产生的异常是? A. ArithmeticException B. ZeroException C. NullPointerException D. NegativeArraySizeException ...
1. 以下声明合法的是() A. default String s; B. public final static native int w( ) C. abstract double d; D. abstract final double hyperbolicCosine( ) ...