多选题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

题目
多选题
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;   }
A

A Bar is a Baz.

B

A Foo has a Bar.

C

A Baz is a Foo.

D

A Foo is a Baz.

E

A Baz has a Bar.


相似考题
参考答案和解析
正确答案: A,C
解析: 暂无解析