According to me the answers should be A and D.
An Overridden method cannot throw new or broder exceptions. Since NumberFormatException is a new exception, E and F are wrong.
Why would NumberFormatException be a subclass of FileNotFoundException in the first place?
NumberFormatException if not a subclass of FileNotFoundException.
NumberFormatException indicates that a
string cannot be formatted into a number. FileNotFoundException indicates a file cannot be found. How are these two events related? They aren't!
On the other hand, FileNotFoundException is a subclass of IOException because it is an exception caused by some form of disk I/O. Similarly, NumberFormatException is a subclass IllegalArgumentException because the string that is formatted is illegal for the formatting methods
[ August 30, 2008: Message edited by: Sirishaaaaa Ghatty ]