Transcript
The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high-quality educational resources for free. To make a donation or view additional materials from hundreds of MIT courses, visit MIT OpenCourseWare at ocw.mit.edu. So, which of the following is a good and valid definition for class representing a car? Okay, most of the people I think have got it, gotten it, which is the red, which says class car object. That's perfect. Okay? So, this defines a function, this defines a class correctly, but A is just not descriptive name at all, and this is kind of weird, and this is the right one here.