3. 已知:
class A {
public final void m() {
System.out.println(“A.m”);
}
}
public class B extends A {
public void m() {
System.out.println(“B.m”);
super.m();
}
public static void main(String [] args) {
new B().m();
}
}
那么结果为?
(A)A.m
(B)B.m
(C)B.m
A.m
(D)编译错误