A wallet is something that we use to keep our money paper


A wallet is something that we use to keep our money (paper notes). We want to develop an abstract data type called Wallet that can contain collection of Money. The Wallet should return the total amount of money it has. It also can give the number of each kinds of notes it contains(for example number of 5$ notes or 10$ notes). You can remove a Money to pay your bills. You can search your wallet for a specific type of Money. Your wallet can be empty but never be full ?.The wallet also tells you the foreign equivalence of a note, given the exchange rate. Specify each ADT operation by stating its purpose, by describing its parameters. Then write a Java interface for the methods of a wallet. Include javadoc-style comments in your code.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: A wallet is something that we use to keep our money paper
Reference No:- TGS01601880

Now Priced at $15 (50% Discount)

Recommended (98%)

Rated (4.3/5)