1. class A {2.   public void process() { System.out.print("A,"); }3.   class B extends A {4.    public void process() throws IOException {5.     super.process();6.     System.out.print("B,");7.     throw new IOException();8.    }9.   public static void main(String[] args) {10.    try { new B().process(); }11.    catch (IOException e) { System.out.println("Exception"); }}