大神 看一下这是什么问题?
package com.imooc; public class HelloWorld { public static void main(String[] args) { int one = 21 ; if(one%2==0);{ System.out.println(one+"是偶数"); } } }
运算结果: 21是偶数
package com.imooc; public class HelloWorld { public static void main(String[] args) { int one = 21 ; if(one%2==0);{ System.out.println(one+"是偶数"); } } }
运算结果: 21是偶数
2016-03-19
举报