This exception isn't working? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

This exception isn't working?

This isn't working despite the fact that I copied the exception from the tutorial I don't know why https://code.sololearn.com/cs4D67iXZn5a/?ref=app I may be missing something obvious so I'm sorry, thanks in advance !

31st May 2020, 6:55 PM
12ksins
12ksins - avatar
1 Answer
+ 1
You are missing import java.io.FileNotFoundException; or you can do import java.io.*;
31st May 2020, 7:52 PM
Katherine
Katherine - avatar