为什么我(三个括号)和标准答案(两个括号)不一样但是通过了,哪位大佬解释下
public class HelloWorld {
public static void main(String[] args) {
int one = 20 ;
if (one%2==0){
System.out.println("one是偶数");
}
}
}
public class HelloWorld {
public static void main(String[] args) {
int one = 20 ;
if (one%2==0){
System.out.println("one是偶数");
}
}
}
2018-10-26
举报