Python: Inheritance

Lab Steps

lock
Web IDE Review
lock
Single Inheritance
lock
Multiple Inheritance
lock
Abstract Base Classes
lock
Composition
lock
Summary

The hands-on lab is part of this learning path

Ready for the real environment experience?

DifficultyIntermediate
Time Limit2h
Students23

Description

Learn one of the core aspects of object-oriented programming.

Object oriented programming consists of bundling data and code together into a single entity referred to as objects. Objects are the atomic building block of the Python runtime; which makes the runtime entirely object-oriented.

Understanding objects is the key to mastering Python. Learn how to create object hierarchies in this hands-on lab.

Learning Objectives:

  • Base classes
  • Derived classes
  • Single inheritance
  • Multiple inheritance
  • Abstract base classes
  • Composition

Prerequisites:

  • Proficient with:
    • The Python runtime
    • The Python language syntax
    • The anatomy of objects
About the Author
Students96188
Labs28
Courses46
Learning paths54

Ben Lambert is a software engineer and was previously the lead author for DevOps and Microsoft Azure training content at Cloud Academy. His courses and learning paths covered Cloud Ecosystem technologies such as DC/OS, configuration management tools, and containers. As a software engineer, Ben’s experience includes building highly available web and mobile apps. When he’s not building software, he’s hiking, camping, or creating video games.

Covered Topics