class D extends B { public int foo() { return 5; } }