Lecture 19: Inheritance
At a glance
- Price Free to watch, no sign-up
- Runtime 1 h 17 min
- Topics Computer Science
- Source MIT, Introduction to CS and Programming using Python
- Lecture Lecture 19 of 25
- Language English
MIT's 6.100L Introduction to CS and Programming using Python, taught by Ana Bell, covers inheritance in object-oriented programming. The lecture builds on earlier material on classes to show how child classes can inherit data attributes and methods from parent classes, letting programmers add layers of complexity to a program's structure without rewriting shared code. Bell works through class hierarchies on screen, showing how subclasses override or extend parent behavior, and frames inheritance alongside functions as another tool for decomposition and abstraction in program design. The seventy-seven minute session is part of the Fall 2022 offering of 6.100L, MIT's introductory programming course, and assumes familiarity with earlier lectures on class definitions and instance methods. Expect worked code examples on screen rather than slides, typical of the course's hands-on teaching style.