Solved

Consider the Following Code Snippet

Question 51

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:

verifed

Verified

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

Related Questions