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
Added by Lilly B.
Step 1
The question asks about the type of relationship between a child class and a parent class in object-oriented programming (OOP). It provides multiple choice options: abstract, has-a, is-a, polymorphism, was-a. Show more…
Show all steps
Your feedback will help us improve your experience
James Kiss and 70 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
A class that is used as a basis for inheritance is called a ____ class or a superclass.
Sri K.
In a polymorphic relationship, an object of a derived class can also be treated as an object of its base class.
Paul G.
A class from which an object cannot be instantiated could be a(n): a. base class b. derived class c. implemented class d. virtual class e. abstract class
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