幫忙看看我這哪錯(cuò)了呀
public class HelloWorld {
? ? public static void main(String[] args) {
boolean a = true; // a同意
boolean b = false; // b反對(duì)
boolean c = false; // c反對(duì)
boolean d = true; // d同意
System.out.println((a&&b)+"不通過(guò)");
System.out.println((a||b)+"通過(guò)");
System.out,println((!a)+"不通過(guò)");
System.out.println((c^d)+"通過(guò)");
? ??
? ??
? ??
}
}
2020-11-28