Python Tutorial: An Introduction to Polymorphism

preview_player
Показать описание
Polymorphism is the ability for an object to be treated like it's a many different types of objects.

In this video, we explore what that means in a Python program: the ability for parent and child classes to have methods with the same name and how a program can choose between them based on object type.

We also talk about the isinstance function which can be used to determine if an object is an instance of a particular class and how that can be useful.

This objected-oriented programming tutorial is designed for beginners.
Рекомендации по теме
Комментарии
Автор

Its pretty good. Helped me with understanding how to do my assignment a lot better so thank you! Cheers~

comixpanda