Your example doesn't make sense based on the "is a" vs. "has a" relationship. A computer "has a" disk/CD-ROM/Monistor, not the other way around; you shouldn't be passing a computer into those types because in real-world terms, a computer has the disk or CD-ROM.
Your example doesn't make sense based on the "is a" vs. "has a" relationship. A computer "has a" disk/CD-ROM/Monistor, not the other way around; you shouldn't be passing a computer into those types because in real-world terms, a computer has the disk or CD-ROM.
magicsmoke0 5 months ago
Thax for the vid
thebarr 2 years ago
thanks, that was pretty simple way to explain the concept.
kiranmaricharla 2 years ago