Which two are true about has-a and is-a relationships?()
A、A. Inheritance represents an is-a relationship.
B、B. Inheritance represents a has-a relationship.
C、C. Interfaces must be used when creating a has-a relationship.
D、D. Instance variables can be used when creating a has-a relationship.