Python Classes & Inheritance: Working with Inheritance in Python
In this 12-video course learners will discover how to implement inheritance by using Python classes and explore coding examples of concepts such as base classes derived classes overriding methods and polymorphism. Key concepts covered in this course include the default base class for all Python classes; how to model an is-a relationship by using inheritance; and how to invoke base class methods from subclasses. Next you will observe how to define implementations for base class methods; learn to work with superclass and subclass hierarchies; and learn to define methods in a subclass and the idea of subclasses having additional attributes. Continue by learning about multiple inheritance levels in classes; multiple base classes for a single subclass; and polymorphism an important characteristic of objects in object-oriented programming. Then you will learn to implement polymorphism in Python; learn about class inheritance and polymorphism; and learn to implement base and derived classes. Finally learn to specify an init method to initialize member variables; learn about getters and setters for member variables; and learn to override a method.