Unable to understand why the program is not running. Please have a look.
package com.codegym.task.task06.task0610;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
ConsoleReader class
*/
public class ConsoleReader {
public static String readString() throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String name = br.readLine();
return name;
}
public static int readInt() throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int a = Integer.parseInt(br.readLine());
return a;
}
public static double readDouble() throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
double a = Double.parseDouble(br.readLine());
return a;
}
public static boolean readBoolean() throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String a = br.readLine();
if (a=="true"){
return true;
}
else if (a=="false"){
return false;
}
return false;
}
public static void main(String[] args) {
}
}