Solved

Consider the Following Code Snippet

Question 21

Multiple Choice

Consider the following code snippet:
Public class Motorcycle extends Vehicle
{
Private Tire[] tires;
) . .
}
This code is best described as an example of ____.


A) Inheritance and multiplicities.
B) Aggregation and dependency.
C) Inheritance and aggregation.
D) Inheritance and association.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions