posted 16 years ago
Why is there compiler error?
The code will call method() from sub-class, which isn't throwing anything. so why error?
Ok. is it becuase at compile time , the type will be seen which happens to be super type and thus we need try catch???