Question: Problem # 1 Create the Movie class with the instance members title, year, genre, and rating ( out of five ) . Add all necessary
Problem #
Create the "Movie" class with the instance members title, year, genre, and rating out of five
Add all necessary constructors, setters, getters, and toString methods to the "Movie" class.
marks
Write a class called "ListOfMovies" that implements the"Iterable" interface. In this class, you
are using "LinkedList" as the underlying structure which is available from the textbook
example Add a default constructor, "addMovie", "findMovie", "addMovieAfter",
"replaceMovie", and "toString" methods into the "ListOfMovies" class. You also need to
implement the "iterator" method. marks
Write an application driver that tests all the methods of the classes "Movie" and
"ListOfMovies." Use an iterator to traverse the list of movies and remove the movies that have a
rating below marks
Please use Java Eclipse
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
