一道简单的JAVA试题

如题

public class Tinse {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Tinse ts = new Tinse();
		if(ts.fun1(2, 3)&&ts.fun2(3, 4)&&ts.fun3(1, 2)){
			System.out.println("OK");
		}else{
			System.out.println("Error");
		}
	}
	
	public boolean fun1(int a,int b){
		System.out.println("Call function fun1()");
		return a>b;
	}

	public boolean fun2(int a,int b){
		System.out.println("Call function fun2()");
		return a>b;
	}
	
	public boolean fun3(int a,int b){
		System.out.println("Call function fun3()");
		return a>b;
	}
}


请写出输出结果!!!(不要用编译器运行看结果,直接写出结果来 (*^__^*))

你答对了吗?考了哪些知识点----

你可能感兴趣的:(java)