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){ // ==0 )该括号为中文,因该是英文 System.out.println("one是偶数");}//if后分号丢了 } }