Python Classes & Inheritance: Working with Inheritance in Python
Python
| Intermediate
- 12 videos | 1h 9m 53s
- Includes Assessment
- Earns a Badge
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 courseRecall the default base class for all python classesModel an is-a relationship using inheritanceInvoke base class methods from subclassesProvide implementations for base class methodsWork with class hierarchies
-
Define methods in a subclassDefine multiple inheritance levels in classesDefine multiple base classes for a single subclassRecall what polymorphism isImplement polymorphism in pythonImplement 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
-
1m 55s
-
5m 39sAfter completing this video, you will be able to recall the default base class for all Python classes. FREE ACCESS
-
5m 50sLearn how to model an is-a relationship using inheritance. FREE ACCESS
-
5m 11sIn this video, you will learn how to invoke base class methods from subclasses. FREE ACCESS
-
4m 44sAfter completing this video, you will be able to provide implementations for base class methods. FREE ACCESS
-
6m 20sIn this video, you will work with class inheritance. FREE ACCESS
-
4m 31sLearn how to define methods in a subclass. FREE ACCESS
-
9m 6sIn this video, you will learn how to define multiple inheritance levels in classes. FREE ACCESS
-
7m 50sTo find out how to define multiple base classes for a single subclass, consult a Java programming reference guide. FREE ACCESS
-
6m 45sUpon completion of this video, you will be able to recall what polymorphism is. FREE ACCESS
-
6m 11sFind out how to implement polymorphism in Python. FREE ACCESS
-
5m 52sDuring this video, you will learn how to implement base and derived classes, specify an init method to initialize member variables, define getters and setters for member variables, and override a method. FREE ACCESS
EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE
Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.
Digital badges are yours to keep, forever.