运行出来说大括号有问题,可我和答案一样啊
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-01-09
举报