why condition is failed to match
package com.codegym.task.task06.task0610;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
ConsoleReader class
*/
import java.util.Scanner;
public class ConsoleReader {
public static String readString() throws Exception {
Scanner sc = new Scanner(System.in);
String s = sc.nextLine();
return s;
}
public static int readInt() throws Exception {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
return n;
}
public static double readDouble() throws Exception {
Scanner sc = new Scanner(System.in);
double d = sc.nextDouble();
return d;
}
public static boolean readBoolean() throws Exception {
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
if(a>b)
return true;
else
return false;
}
public static void main(String[] args) {
}
}