+ 4
Please help me fast
What is the error https://code.sololearn.com/c1qu57AmGE1v/?ref=app
2 Answers
+ 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
}