Given:
and omitting the throws FooException clause results in a compilation error.
Which statement is true about FooException?
FooException is a subclass of RuntimeError.
FooException is unchecked.
The body of foo can only throw FooException.
The body of foo can throw FooException or one of its subclasses.
Submit