试题详情
多项选择题Which two are true about has-a and is-a relationships?()

A、 Inheritance represents an is-a relationship.

B、 Inheritance represents a has-a relationship.

C、 Interfaces must be used when creating a has-a relationship.

D、 Instance variables can be used when creating a has-a relationship.

  • A,D
  • 关注下方微信公众号,在线模考后查看

热门试题