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

问题:

[单选]

public class Test { 
public static void main (String [] args)  { 
string foo = “blue”; 
string bar = foo; 
foo = “green”; 
System.out.printIn(bar); 
} 
}  
What is the result?()  

A .  An exception is thrown.
B .  The code will not compile.
C .  The program prints “null”
D .  The program prints “blue”
E .  The program prints “green&rdquo

学前儿童社会教育活动设计的基本原则有:() 、()、整合性原则。 申报办理退休需提供以下材料() 福建省企业职工退休资格认定表。 身份证复印件及一寸相片。 用于证明出生时间和参加工时间的档案材料。 退休公示回执。 养老金发放存折复印件。 采样 术前用药的目的是什么? 使用百度站长工具需验证网站那么验证方式有哪几种?() 文件验证。 html标签验证。 CNAME验证。 XML验证。

public class Test { 
public static void main (String [] args)  { 
string foo = “blue”; 
string bar = foo; 
foo = “green”; 
System.out.printIn(bar); 
} 
}  
What is the result?()  

参考答案:

  参考解析

本题暂无解析

在线 客服