Question: Develop a Java application to keep track of Movie information. We need the following: 1) A Movie class with the following attributes: title (String), year(int),
Develop a Java application to keep track of Movie information. We need the following:
1) A Movie class with the following attributes: title (String), year(int), runTime(double). Include setters and getters for all three and also a constructor.
2) A MovieTester class (with main() method) that will ask the user to enter information for exactly 5 movies using keyboard and populate movie objects and list the attributes (title, year, runTime) in a formatted way, one movie per line. Use Counter-controlled loop for data entry.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
