Beginner
Object-Oriented Programming Concepts
Q38 / 100
In OOP, what does "is-a" describe, as opposed to "has-a"?
Correct! Well done.
Incorrect.
The correct answer is B) An inheritance relationship, where one class is a specialized type of another
B
Correct Answer
An inheritance relationship, where one class is a specialized type of another
Explanation
"Is-a" signals inheritance (e.g. a Square is a Shape), while "has-a" signals composition (e.g. a Car has an Engine).
Progress
38/100