单选题 Given: Which code, inserted at line 16, correctly retrieves a local instance of a Point object?()
Point p = Line.getPoint();
Line.Point p = Line.getPoint();
Point p = (new Line()).getPoint();
Line.Point p = (new Line()).getPoint();
多选题 Given: 35.String #name = "Jane Doe"; 36.int $age = 24; 37.Double _height = 123.5; 38.double ~temp = 37.5; Which two statements are true?()
Line 35 will not compile.
Line 36 will not compile.
Line 37 will not compile.
Line 38 will not compile.
单选题 Given: What is the result?()
Compilation fails.
An exception is thrown at runtime.
doStuff x = 6 main x = 6
doStuff x = 6 main x = 7
doStuff x = 7 main x = 6
单选题 Given: Which statement is true?()
All of the assert statements are used appropriately.
Only the assert statement on line 12 is used appropriately.
Only the assert statement on line 15 is used appropriately.
Only the assert statements on lines 15 and 18 are used appropriately.
单选题 Given that c is a reference to a valid java.io.Console object, and: 11.String pw = c.readPassword("%s", "pw: "); 12.System.out.println("got " + pw); 13.String name = c.readLine("%s", "name: "); 14.System.out.println(" got ", name); If the user types fido when prompted for a password, and then responds bob when prompted for a name,what is the result?()
An exception is thrown at runtime
pw: fido got fido name: bob got bob
pw: got fido name: bob got bob
Compilation fails.
多选题 Given that c is a reference to a valid java.io.Console object,which two code fragments read a line of textfrom the console?()
String s = c.readLine();
char[] c = c.readLine();
String s = c.readConsole();
char[] c = c.readConsole();
String s = c.readLine(%s, name );
单选题 Given: When line 11 is reached, how many objects are eligible for garbage collection?()
0
1
2
3
单选题 Given: Which statement is true about the objects referenced by snoog, snooch, and booch immediately after line23 executes?()
None of these objects are eligible for garbage collection.
Only the object referenced by booch is eligible for garbage collection.
Only the object referenced by snoog is eligible for garbage collection.
Only the object referenced by snooch is eligible for garbage collection.
The objects referenced by snooch and booch are eligible for garbage collection.
单选题 Given two files, GrizzlyBear.java and Salmon.java: If both classes are in the correct directories for their packages,and the Mammal class correctly defines thefindSalmon() method, which change allows this code to compile?()
add import animals.mammals.*; at line 2 in Salmon.java
add import animals.fish.*; at line 2 in GrizzlyBear.java
add import animals.fish.Salmon.*; at line 2 in GrizzlyBear.java
add import animals.mammals.GrizzlyBear.*; at line 2 in Salmon.java B
单选题 Given: What is the result?()
int Long
Short Long
Compilation fails.
An exception is thrown at runtime.
在任何情况下,伸缩调节器处轨距的要求为()。
人类有两套影响学习的记忆系统:陈述性记忆和程序记忆。陈述性记忆是对事实或者词汇之类基本认识的记忆。而程序记忆,就是一个人“不劳而获”的记忆。程序记忆是人养成习惯和习得技巧的方式,比如骑自行车。在很多时候,这种学习是无意识的。人们用早期发育的程序记忆系统来学习复杂的东西,比如语法规则。帮助人们学习词汇的陈述性记忆系统,则需要更多时问完成发育。儿童拥有程序记忆系统,并且不受陈述性记忆系统的干扰。由此可以推出()。
宋末元初四大家
公平目标的实现可以通过()实现。
荟萃分析
人员安全疏散分析的性能判定标准为:可用疏散时间(A.SET)必须()必需疏散时间(RSET)。
预防HIV感染的主要措施应当为( )
简述我国混合型债券市场的发展状况。
造成水中某些污染物在生物体内含量大大高于水体中的浓度的生物放大作用是指()
输血的适应证中,不包括()