if(one%2==0);为什么要用==而不是一个=呢?
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-11-18
举报