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.
Written on January 29th, 2020 by
Programming Exercise 15
Posted in Computer science and IT assignments, Undergraduate