Save this video — free

CS 238 Week 4 Lecture

James Andro-Vasko · 19:00 · Watch on YouTube

CS 238 Week 4 Lecture Watch on YouTube →

Overview

James Andro-Vasko introduces Python inheritance through a Square base class and a Cube subclass, showing how a subclass can reuse inherited methods, override get_area(), and add get_volume(). He demonstrates super() for calling the base class’s get_area() and __init__(), while using a cube’s side length and depth to compute its surface area and volume.

Key takeaways

Chapters

0:00 Square and Cube: Reusing Base-Class Behavior
6:00 Override Cube.get_area() with super()
11:00 Add Cube Volume and Initialize the Base Class

Keep these chapters and the full searchable transcript in your own library.

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, James Andro-Vasko.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.