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
Explanation:
Compilation fails : Exception Exception is not compatible with throws clause in Base.process()
IOExceptiondie Exception in der Derived Class Methode muss zur Base Class Methode passen.
C
it’s E
b
its E, an overriden method cannot throw a superclass of an exception thrown by the method it is overriding.