+ 4

Please help me fast

What is the error https://code.sololearn.com/c1qu57AmGE1v/?ref=app

6th Feb 2020, 3:16 PM
Swaraj Singh
Swaraj Singh - avatar
2 Respostas
+ 3
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 }
6th Feb 2020, 4:03 PM
Taste
Taste - avatar
+ 2
Or you can use the throws clause- public static void main(String[] args) throws Exception { // Code goes here }
6th Feb 2020, 4:08 PM
Avinesh
Avinesh - avatar