icon

UseTopicwritingscode to get 5% OFF on your first order!

Programming Exercise 15

Create a class called GermanToEnglishDictionary and a HashMap from String to String in that class called content. You will need to import java.util.HashMap. Create a no-args constructor that creates the content eld as an empty map.
Create an enumerated type (enum) called Coin that can take the values ONE PENNY, TWO PENCE, FIVE PENCE, TEN PENCE, TWENTY PENCE, FIFTY PENCE, ONE POUND and TWO POUNDS.

You can leave a response, or trackback from your own site.

Leave a Reply

Powered by WordPress | Designed by: Premium WordPress Themes | Thanks to Themes Gallery, Bromoney and Wordpress Themes