代码:
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不是偶数");
}
}结果:/85/1353/BsRB/HelloWorld.java:4: error: unexpected type
if(one/2=0)
^
required: variable
found: value
1 error
添加回答
举报
0/150
提交
取消