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