abstract class A interface I object Foo : A(), I