What is it called when a class references objects of other classes as members? composition polymorphism hierarchy inheritance
Added by Ismael T.
Step 1
- **Composition**: This is a design principle where a class is made up of one or more objects from other classes, meaning it contains references to those objects as members. - **Polymorphism**: This refers to the ability of different classes to be treated as Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 71 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Akash M.
The relationship between a child (sub) class and a parent (super) class is referred to as a(n) ____ relationship. abstract has-a is-a polymorphism was-a
James K.
'Question Which of the following not associated with object-oriented programming? Inheritance Resolution Encapsulation Polymorphism An object is often referred to as a(n) of the class from which was constructed: inheritance instance method parameter'
Paul G.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD