单选题 Given the command line java Pass2 and: What is the result? ()
doStuff x = 6 main x = 6
Compilation fails.
doStuff x = 6 main x = 7
An exception is thrown at runtime.
doStuff x = 7 main x = 6
doStuff x = 7 main x = 7
单选题 Given: What is the result?()
A
B
C
D
E
多选题 Given: 10. interface Jumper { public void jump(); } ... 20. class Animal {} ... 30. class Dog extends Animal { 31. Tail tail; 32. } ... 40. class Beagle extends Dog implements Jumper{ 41. public void jump() {} 42. } ... 50. class Cat implements Jumper{ 51. public void jump() {} 52. }. Which three are true?()
Cat is-a Jumper
Cat is-a Animal
Dog is-a Jumper
Dog is-a Animal
Beagle has-a Jumper
Cat has-a Animal
Beagle has-a Tail
单选题 Click the Exhibit button. Given this code from Class B: 25. A a1 = new A(); 26. A a2 = new A(); 27. A a3 = new A(); 28. System.out.println(A.getInstanceCount()); What is the result?()
Compilation of class A fails.
Line 28 prints the value 3 to System.out.
Line 28 prints the value 1 to System.out.
Compilation fails because of an error on line 28.
A runtime error occurs when line 25 executes.
单选题 Given: What is the result?()
An exception is thrown at runtime.
int Long
Compilation fails.
Short Long
多选题 Which two code fragments correctly create and initialize a static array of int elements?()
A
B
C
D
单选题 Click the Exhibit button. Given: ClassA a = new ClassA(); a.methodA(); What is the result?()
The code runs with no output.
Compilation fails.
An exception is thrown at runtime.
ClassC is displayed.
单选题 Given: Which statement is true?()
The cardID and limit variables break polymorphism.
The code demonstrates polymorphism.
The ownerName variable breaks encapsulation.
The setCardInformation method breaks encapsulation.
The class is fully encapsulated.
单选题 Given: What is the result?()
If you define D e = new E(), then e.bMethod() invokes the version of bMethod() defined in Line 5.
If you define D e = (D)(new E()), then e.bMethod() invokes the version of bMethod() defined in Line 5.
Compilation fails because of an error in line 9.
If you define D e = (D)(new E()), then e.bMethod() invokes the version of bMethod() defined in Line 9.
Compilation fails because of an error in line 3.
Compilation fails because of an error in line 7.
在任何情况下,伸缩调节器处轨距的要求为()。
人类有两套影响学习的记忆系统:陈述性记忆和程序记忆。陈述性记忆是对事实或者词汇之类基本认识的记忆。而程序记忆,就是一个人“不劳而获”的记忆。程序记忆是人养成习惯和习得技巧的方式,比如骑自行车。在很多时候,这种学习是无意识的。人们用早期发育的程序记忆系统来学习复杂的东西,比如语法规则。帮助人们学习词汇的陈述性记忆系统,则需要更多时问完成发育。儿童拥有程序记忆系统,并且不受陈述性记忆系统的干扰。由此可以推出()。
宋末元初四大家
公平目标的实现可以通过()实现。
荟萃分析
人员安全疏散分析的性能判定标准为:可用疏散时间(A.SET)必须()必需疏散时间(RSET)。
预防HIV感染的主要措施应当为( )
简述我国混合型债券市场的发展状况。
造成水中某些污染物在生物体内含量大大高于水体中的浓度的生物放大作用是指()
输血的适应证中,不包括()