What is true about has-a and is-a relationships? (Choose two)
A) Instance variables can be used when creating a has-a relationship.
B) Inheritance represents an is-a relationship.
C) Inheritance represents a has-a relationship.
D) Instances must be used when creating a has-a relationship.
The answer is A) and B).
But, I would have thought it was B) and D). Any idea's why I'm wrong?
Edit: Adding source - Question is from www.scjptest.com