Python Classes & Inheritance: Working with Inheritance in Python

Python 3.0+    |    Intermediate
  • 12 Videos | 1h 14m 53s
  • Includes Assessment
  • Earns a Badge
Likes 119 Likes 119
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.

WHAT YOU WILL LEARN

  • discover the key concepts covered in this course
    recall the default base class for all Python classes
    model an is-a relationship using inheritance
    invoke base class methods from subclasses
    provide implementations for base class methods
    work with class hierarchies
  • define methods in a subclass
    define multiple inheritance levels in classes
    define multiple base classes for a single subclass
    recall what polymorphism is
    implement polymorphism in Python
    implement base and derived classes, specify an init method to initialize member variables, define getters and setters for member variables, and override a method

IN THIS COURSE

  • Playable
    1. 
    Course Overview
    1m 55s
    UP NEXT
  • Playable
    2. 
    Inheriting from the Object Base Class
    5m 39s
  • Locked
    3. 
    Modeling is-a Relationship Using Subclasses
    5m 50s
  • Locked
    4. 
    Invoking Base Class Methods from Subclasses
    5m 11s
  • Locked
    5. 
    Defining Implementations of Base Class Methods
    4m 44s
  • Locked
    6. 
    Superclass and Subclass Hierarchies
    6m 20s
  • Locked
    7. 
    Defining Methods in the Subclass
    4m 31s
  • Locked
    8. 
    Multiple Inheritance
    9m 6s
  • Locked
    9. 
    Multilevel Inheritance
    7m 50s
  • Locked
    10. 
    Polymorphism - Part 1
    6m 45s
  • Locked
    11. 
    Polymorphism - Part 2
    6m 11s
  • Locked
    12. 
    Exercise: Implementing Class Inheritance
    5m 52s

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion of this course, which can be shared on any social network or business platform

Digital badges are yours to keep, forever.

PEOPLE WHO VIEWED THIS ALSO VIEWED THESE