哪里出錯了
public class HelloWorld {
? ? public static void main(String[] args) {
boolean a = true; // a同意
boolean b = false; // b反對
boolean c = false; // c反對
boolean d = true; // d同意
? ?System.out.ptintln((a&&b)+"未通過");
? ? ? ? System.out.println((a||b)+"通過");
? ? ? ? System.out.println((!a)+"未通過"); ? ? ?
? ? ? ? System.out.println((c^d)+"通過");
? ? }
}
2016-02-18
代碼寫錯了,println
2016-02-18
應該是沒錯 用的網頁的 ?他不帶審查功能