public class HelloWorld {
public static void main(String[] args) {
int one = 20 ;
/*String nemo;
if(one%2==0)
nemo="偶数";
else
nemo="奇数";
System.out.println("one是"+nemo);*/
String nemo;
if(one%2==0)
nemo="偶数";
else
nemo="奇数";
System.out.println("one是"+nemo);
}
}
我知道了。分号用错了。要英文的