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||b)+"通過");//提示錯誤The left-hand side of an assignment must be a variable? ? ? ? System.out.println((!d)+"未通過");? ? ? ? System.out.println((c^d)+"通過");
添加回答
舉報
0/150
提交
取消