Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+8 votes
asked in CSC212_Spring2019 by (-499 points)

1 Answer

+5 votes


Two classes have a "has a" relationship when the type of the data field in one class is another class type rather than a primitive type. See Chapter 8, Day 3 slides where it discusses an object as a field.

Polymorphism is defined in the second day of the chapter 9 slides.

answered by (1 point)