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. The TennisPlayer uses a TennisBall, and the TennisBall is a Ball.

Computer Science & Information Technology

You might also like to view...

All of the following statements about ARPANET are true EXCEPT ________

A) ARPANET was created for the purpose of sharing information between research labs B) ARPANET was created in the early 1900s C) ARPANET was a government agency established by J.C.R. Licklider D) J.C.R. Licklider wanted a globally interconnected set of computers

Computer Science & Information Technology

Tables can be created in Word and in Excel and inserted into a PowerPoint slide, but not in Access

Indicate whether the statement is true or false

Computer Science & Information Technology

The ________ of a picture is the area to be kept with the Remove Background tool

Fill in the blank(s) with correct word

Computer Science & Information Technology

A comment can be deleted by right-clicking the comment balloon and clicking Delete Comment.

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

Computer Science & Information Technology