当前位置:OCJP(310-065)题库

问题:

[单选]

Given:
String[] elements = { "for", "tea", "too" };
String first = (elements.length > 0) ? elements[0] : null;
What is the result?()

A . Compilation fails.
B . An exception is thrown at runtime.
C . The variable first is set to null.
D . The variable first is set to elements[0].

()是CRM实施成功的关键。 关于生命,下列说法不正确的是() 生命属于你自己。 你的现在是由你的过去决定的。 你的未来将由你的现在决定。 人无法改变命运。 消费者的权利、经营者的义务包括哪些? 肾功能衰竭的休克病人,可用哪些药抗休克?() 去甲肾上腺素。 异丙肾上腺素。 肾上腺素。 多巴胺。 酚妥拉明。 强迫症最常见的是() 强迫观念。 强迫意向。 强迫行为。 强迫动作。 强迫情绪。

Given:
String[] elements = { "for", "tea", "too" };
String first = (elements.length > 0) ? elements[0] : null;
What is the result?()

参考答案: D

  参考解析

本题暂无解析

在线 客服