代碼:
????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
提交
取消