If a class B is a pubic base class for a derived class D,then an object of class D bears what relationship to class B?
A) A has-a relationship.
B) A fraternal relationship
C) An is-a relationship.
D) There is no relationship here.
Correct Answer:
Verified
Q20: If class D is derived from class
Q21: Which of the following is correct syntax
Q22: Suppose class Child is derived from class
Q23: Given the class below,tell to what value
Q24: Suppose class Child is derived from class
Q25: In the code for HourlyEmployee that is
Q26: What are the benefits of inheritance and
Q27: When a derived class inherits from a
Q28: Suppose class Child is derived from class
Q30: Neither the assignment operator overloading nor the
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