001package subclass.exC;
002
003public class M {
004        public static void main(String[] argv) {
005                (new C()).m(); // does this cause an infinite loop?
006        }
007}
008class A {
009        void m() {System.out.println("A.m");}
010}
011class B extends A {
012        void m() {
013                System.out.println("B.m");
014                super.m();
015        }
016}
017class C extends B {}