A Ball class, TennisBall, and TennisPlayer class have what type of C++ relationships?

A. The TennisPlayer uses a Ball, and the Ball is a TennisBall.
B. The TennisPlayer has a TennisBall, and the Ball is a TennisBall.
C. The TennisPlayer has a Ball, and the TennisBall is a Ball.
D. The TennisPlayer uses a TennisBall, and the TennisBall is a Ball.


D

Computer Science & Information Technology

You might also like to view...

Which of the following can be used as part of a variable name?

a. - hyphen b. (space) c. _ underscore d. ( ) parentheses

Computer Science & Information Technology

What is the purpose of the function prototype?

A. Declares variables that need to be used. B. Provides the compiler with function information. C. Allows the function to be called. D. You don’t always need a prototype.

Computer Science & Information Technology

A presentation saved as a show has the file extension ________

A) .pptx B) .mp4 C) .ppsx D) .show

Computer Science & Information Technology

For security purposes, many Web browsers automatically ____ interactive site features.

A. enhance B. block C. promote D. hide

Computer Science & Information Technology