Design and implement a class called Car that contains instance data that represents the make, model, and year of the car

Design and implement a class called Car that contains instance data that represents the make, model, and year of the car

LANGUAGE: Java

CHALLENGE:

Design and implement a class called Car that contains instance data that represents the make, model, and year of the car (as a String, String and int value respectively).

Define the Car constructor to initialize these values (in that order).
Include getter and setter methods for all instance data, and a toString method that returns a one-line description of the car of the form make-model (year)

for example:
Ford-Thunderbird (1955)

This content requires that you purchase additional access. The price is $2.99 or free for our Make Life Easier and 30 Days – Not Recurring members.

Purchase this Content ($2.99) Choose a Membership Level