Clas Title
public class Title {
private String name;
private int release;
private boolean included;
private double rating;
private int totalrating;
private int runningTime;
public Title(String name, int release) {
this.name = name;
this.release = release;
}
Class Series
public class Series extends Title {
private int seasons;
private int episodes;
private boolean active;
private int minutesPerEpisode;
public Series(String name, int release) {
super(name, release);
}
Class Movie
public class Movie extends Title implements Classificable {
private String director;
public Movie(String name, int release) {
super(name, release);
}
Main (ex:)
public static void main(String[] args) {
Movie myMovie = new Movie("The Godfather", 1972);
myMovie.setRunningTime(175);
myMovie.setIncluded(true);