Assume that this chapters Car class is instantiated with a statement like this: Car car = new

Question:

Assume that this chapter’s Car class is instantiated with a statement like this:

Car car = new Car("Mazda", 2018, "green");

Enhance this Car class by providing an additional method that responds to this subsequent print statement:

System.out.println(car);

With output like this:

Green 2018 Mazda

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: