console is showing:
" class, interface , enum missing ........
...................... line 47"
Its showing the sign : " ^ " after the word * void " in line 47
help.....
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 {
//write your code here
BufferedReader sring = new BufferedReader(new InputStreamReader(System.in));
String read = sring.readLine();
return read;
}
public static int readInt() throws Exception {
BufferedReader nt = new BufferedReader(new InputStreamReader(System.in));
int rea = Integer.parseInt(nt.readLine());
return rea;
}
public static double readDouble() throws Exception {
BufferedReader ouble = new BufferedReader(new InputStreamReader(System.in));
double re = Double.parseDouble(ouble.readLine());
return re;
}
public static boolean readBoolean() throws Exception {
BufferedReader sss = new BufferedReader(new InputStreamReader(System.in));
String x = sss.readLine();
boolean readBoolean = true;
if("true".equals("true"))
return readBoolean;
else if ("false".equals("false"))
return !readBoolean;
}
}
public static void main(String[] args) {
}
}