import java.util.List; public class Movie { private String title; private int year; private List directors; private List producers; private List actors; public Movie(String title, int year, List directors, List producers, List actors) { this.title = title; this.year = year; this.directors = directors; this.producers = producers; this.actors = actors; } public List getActors() { return actors; } public List getDirectors() { return directors; } public List getProducers() { return producers; } public String getTitle() { return title; } public int getYear() { return year; } public String toString() { return "Name: " + title + "\nYear: " + year + "\nDirected by: " + directors + "\nProduced by: " + producers + "\nActors: " + actors; } }