郁闷 ,哪错了呢
class A{
public void f()
{
System.out.printf("AAAA\n");
}
}
class B extends A
{
public void f()
{
System.out.printf("BBBB\n");
}
class C extends B
{
public void f()
{
System.out.printf("CCCC\n");
}
}
public class TestA
{
public static void G()
{
}
public static void main(String[] args)
{
G();
}
}
不会调,哪错了呢