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)+"通过");
_坐看云起时
rookie2maven
相关分类