Ans: a) public void m1() throws SQLException,IOException{}
b) public void m1() throws Exception{}
c) None of these
The explaination says that the answer is (C) according to them
public void m1() {}
is the best fit..I agree with that but why can't (a)???
According to overriding rules, the overriding method can declare the same exceptions or it can declare nothing But it should not declare any broader exception.....
Hence, here the answer could be (a) where the overriding method is declaring the same exceptions as the overridden method??
Isn't this true...OR IS there any mystry behind SQLException...

In API the io package do not contain this SQL Exception..so where is it???
Regards
Swapnil
[ July 02, 2006: Message edited by: Swapnil Trivedi ]