Question: Open a new project in IntelliJ. Include a Main program (you can call it MovieTester or something else if youd like). Then open an additional
Open a new project in IntelliJ. Include a Main program (you can call it
MovieTester or something else if youd like). Then open an additional class
file called Movie. This where youll build your implementation of the custom
data type the Movie class.
declare the class and include the appropriate data
fields.
After you have the instance variables declared, think about the methods
that you would need to add to access and manipulate the data in these
fields. (HINT: Look at the methods that we included in the Student class
and extend the concepts to the Movie class.)
Create a non-default constructor for the Movie class.
Create some getter methods for the Movie class.
Stop now and add code to your tester class to ensure that these
methods are working properly. Once youre certain that they are,
continue on.
Create a default constructor for the Movie class.
Create some setter methods for the Movie class.
Stop now and add code to your tester class to ensure that these
methods are working properly. Once youre certain that they are,
continue on.
Add Javadoc header comments to your Movie class and each of the
methods that is part of the Movie class.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
