abstract class B { abstract function f() : void; abstract function g() : void; } class D extends B { }