为什么中文不能用单引号包裹
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.println((a && b) + "未通过");
//System.out.println((a || b) + '通过');
//System.out.println((!a) + '未通过');
//System.out.println((c ^ d) + '通过');
}
}