ITP2 - OOP Tutorials - Classes and Objects I - Exercises

Add an accessor method to your MyCar class to change and view the color
of your car. Then add an accessor method that allows you to view, but
not modify, the year of your car.