可学答题网 > 问答 > SCJP程序员认证考试题库
目录: 标题| 题干| 答案| 搜索| 相关
问题

Which statements concerning


Which statements concerning the relationships between the following classes are true?()   class Foo {  int num;   Baz comp = new Baz();   }   class Bar {  boolean flag;   }   class Baz extends Foo {   Bar thing = new Bar();   double limit;   }  

  • AA Bar is a Baz.
  • BA Foo has a Bar.
  • CA Baz is a Foo.
  • DA Foo is a Baz.
  • EA Baz has a Bar.
参考答案
参考解析:
分类:SCJP程序员认证考试题库