Write a set of four classes, and one interface will be used in a media catalog program. The four classes and one interface you will write are just the data classed needed to store the information for two types of media, music and movies. Note that you are only writing the data classes so there should be no main method. Solution Java Classes and interface: //MediaManager class class MediaManager { //To hold array of Media Objects ArrayList<Media> mediaList = new ArrayList<Media>(); //Method that adds media object public void addMedia(Media obj) { mediaList.add(obj); } //Method that removes media object public void removeMedia(Media obj) { mediaList.remove(obj); } //Method that finds media object public Media findMedia(String title) { //Loop over media objects for(int i=0; i<mediaList.size(); i++) { //Compare each title if matches return object if((mediaList.get(i).title).equals(title)) return mediaList.get(i); } //If doesn\'t found return null return null; } } //Abstract class abstract class Media { //Protected fields protected String title; protected int year; //Method that returns location public String getLocation() { return null; } } //Interface interface Playable { //Method that returns play format public String playFormat(); } //Class that extends Media class and implements Playable interface class Music extends Media implements Playable { //Extra field private String artist; //Method that returns location public String getLocation() { return \"iPod\"; } //Method that returns play format public String playFormat() { return \"MPG3\"; } } //Class that extends Media class and implements Playable interface class Movies extends Media implements Playable { //Extra field private String rating; //Method that returns location public String getLocation() { return \"Amazon TV\"; } //Method that returns play format public String playFormat() { return \"QuickTime\"; } } .