01 |
package subclass.exC; public class M { public static void main(String[] argv) { (new C()).m(); // does this cause an infinite loop? } } class A { void m() {System.out.println("A.m");} } class B extends A { void m() { System.out.println("B.m"); super.m(); } } class C extends B {} |