 
		慕勒5401098
2018-10-10 20:22
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 || d)+"通过");	     System.out.println((!a)+"未通过");	     System.our.println((c^d)+"通过");                	}} 
				System.our.println((c^d)+"通过");   这里  out 写成了  our
 
				System.our.println((c^d)+"通过"); 
换成
System.out.println((c^d)+"通过"); 
试一试吧
 
				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 || d)+"通过");	     
    System.out.println((!a)+"未通过");	     
    System.our.println((c^d)+"通过");                	
    }
  } 
				HelloWorld.java:10: error: cannot find symbol System.our.println((c^d)+"通过"); ^ symbol: variable our location: class System 1 error
Java入门第一季(IDEA工具)
1168090 学习 · 18754 问题
相似问题