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

+4

Please help me fast

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

2/6/2020 3:16:10 PM

Swaraj Singh

2 Answers

New Answer

+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 }

+2

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