Topics covered: Encapsulation, inheritance, shadowing
Instructor: Prof. Eric Grimson, Prof. John Guttag OPERATOR: 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. PROFESSOR: Last lecture we
were talking about classes, and object-oriented programming, and
we're going to come back to it today. I'm going to remind you,
we were talking about it because we suggested it is a really
powerful way of structuring systems, and that's really why we
want to use it, It's a very common way of structuring systems.
So today I'm going to pick up on a bunch of more nuanced, or
more complex if you like, ways of leveraging the power of
classes. But we're going to see a bunch of examples that are
going to give us a sense. I'm going to talk about inheritance,
we're going to talk about shadowin