class SuperX { public int fn1 (int c) { System.out.println("fn1" + c); return(1); } } class SubY extends SuperX { public int fn1(long i) { super.fn1((int)i+2); return(1); } } class SubZ extends SubY { public void fn3(int i) { fn1(i); } } /* Compiler error display: Ambibuity.java:17: Reference to fn1 is ambiguous. It is defined in int fn1(long) and int fn1(int). */