posted 17 years ago
Hi,
I have written a class which would override a method in a super class,But super class method is throwing an ArithmeticException and method in sub class which will be overriding the above throwing an exception by name Exception.When i try to execute this it will be giving compilation error,But viceversa does not,
Can anyone explain the reason for this,The code is as follows