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
Q4: You have determined a need for a
Q21: Suppose you are developing a payroll application
Q22: Consider the following code snippet: public class
Q23: You are designing a software solution for
Q25: Aggregation denotes that _.<br>A)Objects of one class
Q31: Before you begin designing a solution, you
Q76: If many classes of a program depend
Q80: You have determined the need for a
Q92: In a UML diagram, dependency is denoted
Q93: During the implementation phase, which of the