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

问题:

[单选]

public class IfTest (  
public static void main(stringargs) {  
int x = 3; 
int y = 1;  
if (x = y)  
system.out.printIn(“Not equal”);  
else  
system.out.printIn(“Equal”);  
}  
)  
What is the result?()

A .  The output is “Equal”
B .  The output in “Not Equal”
C .  An error at line 5 causes compilation to fall.
D .  The program executes but does not print a message.

特征分析理论 以下不属于个人/家庭资产项目的是() 收藏品。 接受别人的礼品。 按揭房产。 租借的房屋。 管理科学 仿琼斯磁选机对细颗粒弱磁性矿物回收效果较好,但是设备故障率较高。 系统原理

public class IfTest (  
public static void main(stringargs) {  
int x = 3; 
int y = 1;  
if (x = y)  
system.out.printIn(“Not equal”);  
else  
system.out.printIn(“Equal”);  
}  
)  
What is the result?()

参考答案:

  参考解析

本题暂无解析

在线 客服