楼主的远程是不是应该这样的?
public class Test {
public static void main(String[] args) {
int x = 0;
assert (x > 0) : "assertion passed";
System.out.println("Finished");
}
}
编译的时候用:
javac -source 1.4 Test.java
public class Test {
public static void main(String[] args) {
int x = 0;
assert (x > 0) : "assertion passed";
System.out.println("Finished");
}
}
编译的时候用:
javac -source 1.4 Test.java
这句话怎么翻译?
B.Conditional compilation is used to allow tested classes to run at full speed.java中有条件编译吗?我怎么不知道