中国海洋大学概率论与数理统计往年期末考试试题
2024-06-01 15:49:55 291KB 中国海洋大学 期末考试
1
sdjzu软件工程期末考试试题(基本上就是题库了可以提前开始学习ps:挺难背的)
2024-05-17 17:31:35 521KB 软件工程
1
2021年JAVA语言程序设计期末考试试题及答案应考必备题库.doc
2024-05-13 10:49:23 59KB
1
华东交通大学往年的C++考试试卷,大家看看吧
2024-03-15 01:30:47 78KB
1
2021新北师大版七年级上册数学期末考试试题及答案,推荐文档
2024-01-23 11:39:49 113KB
1
2018年信息处理技术员考试最新试题,下载总有你的需要。惊喜多多
2024-01-13 22:22:03 404KB 信息处理
1
SCCE C#Base考试试题(A卷)_电影信管理系统.docx
2023-12-08 21:00:00 380KB
1
一、 选择 1.给定下面的代码片段:   1) String str = null;   2) if ((str != null) && (str.length() > 10)) {   3) System.out.println("more than 10");   4) }   5) else if ((str != null) & (str.length() < 5)) {   6) System.out.println("less than 5");   7) }   8) else { System.out.println("end"); } 哪些行会导致错误? A line 1 B line 2 C line 5 D line 8 2.下面哪种注释方法能够支持javadoc命令: A /**...**/ B /*...*/ C // D /**...*/ 3. 欲编写如下图的一个界面,用于显示用户指定的图像: 如果在区域A中只能放置一个AWT组件,从各组件的本来功能角度考虑,最好使用哪种组件: A TextArea B Panel C Applet D Canvas 4. 界面如上题所示。若"Button1"的功能是:点击后弹出一个用于输入的界面,获取用户想要显示的图像文件名,则该界面最好····
2023-11-19 07:02:30 115KB java期末考试试题
1
一、 选择 1.MAX_LENGTH是int型public成员变量, 变量值保持为常量100,用简短语句定义这个变量。 A public int MAX_LENGTH=100; B final int MAX_LENGTH=100; C final public int MAX_LENGTH=100; D public final int MAX_LENGTH=100. 2.给出下面代码:   1) class Parent {   2) private String name;   3) public Parent(){}   4) }   5) public class Child extends Parent {   6) private String department;   7) public Child() {}   8) public String getValue(){ return name; }   9) public static void main(String arg[]) {   10) Parent p = new Parent();   11) }   12) }   那些行将引起错误? A 第3行 B 第6行 C 第7行 D 第8行 3.类Teacher和Student是类Person的子类;    Person p;    Teacher t;    Student s;    //p, t and s are all non-null.    if(t instanceof Person) { s = (Student)t; }   最后一句语句的结果是: A 将构造一个Student对象; B 表达式是合法的; C 表达式是错误的; D 编译时正确,但运行时错误。 4.给出下面代码段   1) public class Test {   2) int m, n;   3) public Test() {}   4) public Test(int a) { m=a; } ···
2023-11-19 07:02:07 90KB java期末考试
1