Inheritance is an example of what type of relationship?
A) is-a
B) has-a
C) was-a
D) had-a
Correct Answer:
Verified
Q21: An interface is a class that contains
Q22: Interfaces are defined using the reserved word
Q28: Composition is a "has-a" relationship.
Q31: Based on the diagram in the accompanying
Q32: Suppose a class Car and its subclass
Q33: Consider the following class definitions.public class BClass
{
Private
Q33: Suppose there are three classes named Shape,
Q34: Which of the following statements about the
Q39: Consider the following class definitions.public class BClass
{
Private
Q40: An abstract method is a method that
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents