Please help me fast | Sololearn: Learn to code for FREE!


Please help me fast

What is the error

2/6/2020 3:16:10 PM

Swaraj Singh

2 Answers

New Answer


your main seems not right public static void main(String[]args) for buffer reader you can wrap them in try catch try{ //readhere }catch(IOException ex){ // do something if failed }


Or you can use the throws clause- public static void main(String[] args) throws Exception { // Code goes here }