If you try to open a file that does not exist using Scanner constructor, what type of exception will be thrown?
A) ScannerException
B) FileNotFoundException
C) FileException
D) NotFoundException
1
Expert's answer
2012-12-18T09:25:41-0500
If you try to opena file that does not exist using Scanner constructor, FileNotFoundException is generated. for example:
Comments
Leave a comment