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) An is-a relationship.

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.

Computer Science & Information Technology

You might also like to view...

A web server indicates success to the client by

A. sending back a reply with code 200 B. calling exit with a value of 0

Computer Science & Information Technology

A(n) ________ joins two entities.

A) associative entity B) attributive entity C) process entity D) None of the above.

Computer Science & Information Technology

Give three examples of when you would want to use quotes around your search query.

What will be an ideal response?

Computer Science & Information Technology

________ allow front-page viewing of multiple files, thus enabling investigators to quickly identify questionable graphics files

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology