这里是代码
boolean a = true; // a同意
boolean b = false; // b反对
boolean c = false; // c反对
boolean d = true; // d同意
System.out.sprintln((a&&b)+"未通过");
System.out.sprintln((a||d)+"通过");
System.out.sprintln((!a)+"未通过");
System.out.sprintln((c^d)+"通过");
boolean a = true; // a同意
boolean b = false; // b反对
boolean c = false; // c反对
boolean d = true; // d同意
System.out.sprintln((a&&b)+"未通过");
System.out.sprintln((a||d)+"通过");
System.out.sprintln((!a)+"未通过");
System.out.sprintln((c^d)+"通过");
2015-10-06
举报