IT 117: Intermediate Scripting
Class 19 Ungraded Quiz

  1. Using data hiding, write the constructor for the Car class with the attributes
    manufacturer
    model
    year
    color



  2. Write accessor methods for each of the attributes of the Car class.


  3. Write the __str__ method for the Car class.