✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
public abstract void m1();
public void m2(){ m1(); }
}
public class B extends A{
public void m1(){this.m3();}
public void m3(){System.out.println("B::m3");}
}
public class C extends B{
// public void m1(){System.out.println("C::m1");}
public void m3(){
super.m3();
m2();
}
}
Soit l'instance B a=new C();
On exécute l'instruction a.m3().
Que se passe t-il ?