hello everyone welcome to black bird techBD
YouTube channel!
in this video we're going to discuss about inheritance in python
we will learn about classes and objects in Python. Classes are a way to create new data types that can be used to create objects. An object is an instance of a class, and it can have its own attributes and methods.
We will start by defining a class called Car that has three attributes: make, model, and year. We will also define three methods that allow us to get the values of these attributes. Then, we will create an object of this class and use the methods defined in the class to get the values of its attributes.
We will also discuss the concept of inheritance, which allows us to create a new class that is a modified version of an existing class. We will create a new class called ElectricCar that inherits from the Car class and adds a new attribute called battery_size.
Finally, we will discuss the concept of polymorphism, which allows us to use objects of different classes in the same way. We will create a function that takes an object of either the Car class or the ElectricCar class and prints out its attributes.
By the end of this video, you will have a solid understanding of classes and objects in Python, and you will be able to create your own classes and objects with ease.
If you’re interested in learni
#freelearning #happylearning #education
#pydroid3 #programming #mobilelearning #python #learnpython #android_programming #datatypes #android #fullcourse #codingonthego
Auf dieser Seite können Sie das Online-Video python inheritance in bangla | python programming full course with mobile using pydroid3 in Bangla mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Black Bird TechBD 08 Februar 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 80 Mal angesehen und es wurde von 3 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!