Multiple Choice
Consider the following code snippet:
Public class Purse
{
Private Coin[] coins;
) . .
}
Which of the following statements is correct?
A) Purse aggregates Coin.
B) Coin depends on Purse.
C) The Coin class must be declared as an inner class within Purse.
D) Coin inherits from Purse.
Correct Answer:

Verified
Correct Answer:
Verified
Q43: How does a UML diagram denote classes
Q46: Consider the following code snippet:<br>Public class Motorcycle<br>{<br>Private
Q49: You are designing a software solution for
Q52: Which of the following statements will correctly
Q55: To improve the quality of the public
Q69: A Quiz class contains an array of
Q75: Which of the following can be used
Q96: Which of the followings statements about class
Q98: UML means_.<br>A)Unified Mode Language<br>B)User Modeling Language<br>C)User Mode
Q101: Which of the following statements about class