Instruction
Using the UML diagram below as a guide, design and implement a set of classes that define
various types of reading material. These classes model reading material one would purchase.
Include data values that describe various attributes of the material.
ReadingMatter has three instance variables: title (type String), ISBN (type String
of 13 characters) and price (type double). Include a constructor and get and set methods for
these three instance variables. The class also has a toString( ) method to return a description
of the reading matter.
Magazine includes an extra instance variable: editor (type String) with get and set
methods for it. Also override toString( ) and