Question: PP 4.5 Write a class called car that contains instance data that represents the make, model, and year of the car. Define the Car

PP 4.5 Write a class called car that contains instance data that represents the make, model, and year of the car. Define the Car constructor to initialize these values. Include getter and setter methods for all instance data, and a tostring method that returns a one-line description of the car. Add a method called is Antique that returns a boolean indicating if the car is an antique (if it is more than 45 years old). Create a driver class called CarTest, whose main method instantiates and updates several car objects.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
