Lecture 19: Inheritance
MIT OpenCourseWare MIT OpenCourseWare
5.14M subscribers
3,030 views
0

 Published On Apr 11, 2024

MIT 6.100L Introduction to CS and Programming using Python, Fall 2022
Instructor: Ana Bell

View the complete course: https://ocw.mit.edu/courses/6-100l-in...
YouTube Playlist:    • MIT 6.100L Introduction to CS and Pro...  

This lecture describes how to add layers of complexity through hierarchies and child classes which inherit data and methods from parent classes. Like functions, classes are a mechanism for decomposition and abstraction in programming.

License: Creative Commons BY-NC-SA
More information at https://ocw.mit.edu/terms
More courses at https://ocw.mit.edu
Support OCW at http://ow.ly/a1If50zVRlQ

We encourage constructive comments and discussion on OCW’s YouTube and other social media channels. Personal attacks, hate speech, trolling, and inappropriate comments are not allowed and may be removed. More details at https://ocw.mit.edu/comments.

show more

Share/Embed