Question: java, need souce code and output Programming 2. Write a program that stores Movie objects in ArrayList and outputs the oldest movie. You should make

java, need souce code and output
java, need souce code and output Programming 2. Write a program that
stores Movie objects in ArrayList and outputs the oldest movie. You should

Programming 2. Write a program that stores Movie objects in ArrayList and outputs the oldest movie. You should make a movie ArrayList in the main method and find the oldest movie in the method called "findOldest'. You should write Movie.java and Movie Test.java ArrayList movie - new ArrayList(); movie.add(new Movie("Avengers", 2019))) movie.add(new Movie("The Lion King", 1994) movie.add(new Movie("Toy Story 3, 2010))) movie.add(new Movie("Zootopia", 2016))) movie.add(new Movie("Frozen", 2013)); The oldest movie : The Lion King is released in 1994 Programming 2. Movie title : String year: int Movie Test + main(args : String(): void Movie (title: Stringyearint) setTitle (title: String) void setYear (year int) : void + getTitle(): String getYear 0 : Int .toString : String You need to have a method called "findOldest in the main method

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!