Multiple Choice
Consider the following code snippet: public class SailBoat extends Vessel
{
Private Engine[] engines;
Private Sail mainsail;
) . .
}
Which of the following statements is NOT correct?
A) SailBoat inherits from Vessel.
B) Sail depends on Sailboat.
C) Sailboat aggregates Engine.
D) SailBoat aggregates Sail.
Correct Answer:

Verified
Correct Answer:
Verified
Q3: Which of the following most likely indicates
Q7: The textbook recommends a five-part program development
Q8: You are designing a software solution for
Q43: How does a UML diagram denote classes
Q61: Which of the following is the most
Q85: A class (ClassOne) is considered to have
Q88: Which statement correctly describes the class relationship
Q92: Given the following diagram showing class relationships:
Q96: Which of the followings statements about class
Q101: Which of the following statements about class