Extends the dictionary class discussed in class


1. Problem 1
Design and implement a class called MonetaryCoin that is derived from the Coin class presented in Chapter 5. Store a value in the monetary coin that represents its value and add a method that returns its value. Create a main driver class to instantiate and compute the sum of several MonetaryCoin objects. Demonstrate that a monetary coin inherits its parent's ability to be flipped.

2. Problem 2 
Writea class called AmericanKlingonDictionary that extends the Dictionary class discussed in class.
This new class will have variables such as publisher, year, and isbn and methods such as standard getters and setters for the variables. Make sure these variables are not accessible by classes other than Book, and Dictionary. In the main method, create a Dictionary object that sets a number of pages and prints it out. Do the same for the number of definitions. Now, create an AmericanKlingonDictionary object that sets a numbers of pages, a number of definitions, 

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Extends the dictionary class discussed in class
Reference No:- TGS095797

Expected delivery within 24 Hours