请问这个是哪里出错了?它上面显示有一个错误
public class HelloWorld { public static void main(String[] args) { int one= 20 ; if(one%2=0){ System.out.println("one是偶数"); } else System.out.println("one不是偶数"); } }
public class HelloWorld { public static void main(String[] args) { int one= 20 ; if(one%2=0){ System.out.println("one是偶数"); } else System.out.println("one不是偶数"); } }
2016-11-03
举报