A Boat class, SkiBoat, and Waterskier class has what type of C++ relationships?

A. The Waterskier uses a Boat, and the Boat is a SkiBoat.
B. The Waterskier has a SkiBoat, and the Boat is a SkiBoat.
C. The Waterskier has a Boat, and the SkiBoat is a Boat.
D. The Waterskier uses a SkiBoat, and the SkiBoat is a Boat.


D. The Waterskier uses a SkiBoat, and the SkiBoat is a Boat.

Computer Science & Information Technology

You might also like to view...

A can be defined in a class to perform termination housekeeping on an object before the garbage collector reclaims the object’s memory.

a) destructor b) property c) garbage collector d) None of the above.

Computer Science & Information Technology

When more than one class is derived from a base class, the situation is called

A) polymorphism. B) population. C) multiplicity. D) encapsulation. E) None of the above

Computer Science & Information Technology

The   character inserts a space that will be displayed by the browser.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

Type ________ is designed to precisely represent numbers with decimal points, especially monetary amounts.

a) digit b) decimal c) float d) double

Computer Science & Information Technology