1class Super { 2 public void foo1() { } 3 public void foo2() { } 4} 5 6class A extends Super { 7 public void foo0() { } 8 public void foo1() { } 9 public void foo3(int i) { } 10 public void foo4(Object o) { } 11 public void foo4(String a) { } 12 public void foo5(String a) { } 13 public void foo5(A a) { } 14} 15