问题:
public class Test {
public static void main(String [] args) {
boolean assert = true;
if(assert) {
System.out.println(”assert is true”);
}
}
}
Given:
javac -source 1.3 Test.java
What is the result?()
A . Compilation fails.
B . Compilation succeeds with errors.
C . Compilation succeeds with warnings.
D . Compilation succeeds without warnings or errors.
public class Test {
public static void main(String [] args) {
boolean assert = true;
if(assert) {
System.out.println(”assert is true”);
}
}
}
Given:
javac -source 1.3 Test.java
What is the result?()
● 参考解析
本题暂无解析
相关内容
相关标签