Given the code fragment: If the file userguide.txt does not exist, what is the result?
A.
An empty file iscreated and success is printed
B.
class java.io.FileNotFoundException
C.
class java.io.IOException
D.
class java.lang.Exception
E.
Compilation fails
B.
E – missing fr.close();
please see throw in Base class and Derived Class