can any one explain me the following code...
In the following case ans is "B"
11. static class A {
12. void process() throws Exception { throw new Exception(); }
13. }
14. static class B extends A {
15. void process() { System.out.println("B"); }
16. }
17. public static void main(
String[] args) {
18. new B().process();
19. }