当前位置:SCJP程序员认证考试题库

问题:

[单选]

int x = 3; 
int y = 1; 
if (x = y) { 
System.out.println(“x = “ + x); 
} 
What is the result? ()

A . x=1
B . x=3
C . Compilation fails.
D . The code runs with no output. 
E . An exception is thrown at runtime.

前古典主义音乐有哪些风格() 罗可可风格。 巴洛克风格。 华丽风格。 善感风格。 自由风格。 最早的搜索引擎是()。 Excite。 Dogpile。 Yahoo。 Altavista。 饴糖制造原理及主要成分是什么? 领导者能力素质包括() 开拓创新能力。 表达能力。 决断能力。 组织协调能力。 分析综合给力。 精神病鉴定属于()。 言词证据。 实物证据。 证人证言。 书证。

int x = 3; 
int y = 1; 
if (x = y) { 
System.out.println(“x = “ + x); 
} 
What is the result? ()

参考答案:

  参考解析

本题暂无解析

在线 客服