Book Class
This a class that models a Book and should implement the Media interface.
- Instance variables: Declare three instance variables -- author (String), title (String), and yearPublished (int).
- Constructor: Take in three arguments for an author, a title, and a year published and assign these values to their associated instance variables.
- Methods: Implement the three Media interface methods by returning the proper corresponding instance variable.