Question: Create a class named Movie ( in a file called Movie.java ) that includes fields for the title of the movie, the year it was
Create a class named Movie in a file called Movie.java that includes fields for the title of the movie, the year it was released, and the running time in minutes Implement methods to get values for each field, and methods to set values for those fields.
In a separate file named TestMovie.java, create an application with a main method that asks the user to input the name of their favorite movie, the year it was released, and how long it is in minutes Instantiate a Movie object, put the user's input into the relevant fields, and then use the "get" methods to display the information.
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
