myeclipse中提示輸出錯誤??package HELLO;public class hello { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub boolean a = true; // a同意 boolean b = false; // b反對 boolean c = false; // c反對 boolean d = true; // d同意 ? ?System.out.println(a&&b+"未通過"); ? ?System.out.println(a||d+"通過"); ? ?System.out.println(!1+"未通過"); ? ?System.out.println(c^d+"通過"); }}
1 回答

添加回答
舉報(bào)
0/150
提交
取消