hands-on lab
Python: Inheritance
Difficulty: Intermediate
Duration: Up to 2 hours
Students: 185
Rating: 5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
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
Covered topics
Lab steps
Web IDE Review
Single Inheritance
Multiple Inheritance
Abstract Base Classes
Composition
Summary