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.
c)
Explanation: Part a) is wrong, An HourlyEmployee does not have an Employee. It is an Employee. Part b): There is no “fraternal” relationship in C++ nor object oriented programming.
You might also like to view...
In a peer-to-peer network, all of the computers are set up to share resources with every device on the network, but none of them provide centralized authority
Indicate whether the statement is true or false
Who's in Charge?
What will be an ideal response?
________ monitors pass an electric current through gas sealed in thousands of cells inside the screen
Fill in the blank(s) with correct word
After you describe a function in the Search for a function box in the Insert Function dialog box, click ____.
A. Go B. Select C. Insert D. Next