单选题 Click the Exhibit button. Given: ClassA a = new ClassA();a.methodA(); What is the result?()
Compilation fails.
ClassC is displayed.
The code runs with no output.
An exception is thrown at runtime.
单选题 Given: When line 14 is reached, how many objects are eligible for the garbage collector?()
0
1
2
3
4
单选题 Given: What is the result?()
1
2
12
Compilation fails.
No output is produced.
多选题 Given: A programmer is developing a class Key, that will be used as a key in a standard java.util.HashMap. Which two methods should be overridden to assure that Key works correctly as a key?()
public int hashCode()
public boolean equals(Key k)
public int compareTo(Object o)
public boolean equals(Object o)
public boolean compareTo(Key k)
单选题 Given: foo and bar are public references available to many other threads. foo refers to a Thread and bar is anObject. The thread foo is currently executing bar.wait(). From another thread,what provides the most reliable wayto ensure that foo will stop executing wait()?
foo.notify();
bar.notify();
foo.notifyAll();
Thread.notify();
bar.notifyAll();
单选题 Given: What is the result?()
Compilation fails.
An exception is thrown at runtime.
[608, 610, 612, 629] [608, 610]
[608, 610, 612, 629] [608, 610, 629]
[606, 608, 610, 612, 629] [608, 610]
单选题 Given: What can be a result?()
Compilation fails.
An exception is thrown at runtime.
The code executes and prints "StartedComplete".
The code executes and prints "StartedComplete0123".
The code executes and prints "Started0123Complete".
单选题 Given: What is the result?()
Canada
null Canada
Canada null
Canada Canada
Compilation fails due to an error on line 26.
Compilation fails due to an error on line 29.
单选题 Given: A programmer iterates over the TreeSet and prints the name of each Drink object. What is the result?()
Tea
Coffee
CoffeeTea
Compilation fails
单选题 Given: What is the result?()
collie
harrier
Compilation fails.
collie harrier
An exception is thrown at runtime.
在任何情况下,伸缩调节器处轨距的要求为()。
人类有两套影响学习的记忆系统:陈述性记忆和程序记忆。陈述性记忆是对事实或者词汇之类基本认识的记忆。而程序记忆,就是一个人“不劳而获”的记忆。程序记忆是人养成习惯和习得技巧的方式,比如骑自行车。在很多时候,这种学习是无意识的。人们用早期发育的程序记忆系统来学习复杂的东西,比如语法规则。帮助人们学习词汇的陈述性记忆系统,则需要更多时问完成发育。儿童拥有程序记忆系统,并且不受陈述性记忆系统的干扰。由此可以推出()。
宋末元初四大家
公平目标的实现可以通过()实现。
荟萃分析
人员安全疏散分析的性能判定标准为:可用疏散时间(A.SET)必须()必需疏散时间(RSET)。
预防HIV感染的主要措施应当为( )
简述我国混合型债券市场的发展状况。
造成水中某些污染物在生物体内含量大大高于水体中的浓度的生物放大作用是指()
输血的适应证中,不包括()