Inheritance in Python | Python Tutorials for Beginners #lec89

preview_player
Показать описание
In this lecture we will learn:
- What is Inheritance in OOP?
- What is need of Inheritance ?
- How to implement Inheritance in Python?
- What is Base Class?
- What is Child class?
- What is super() function?

*********************************************

Connect & Contact Me:

*******************************************

More Playlists:

#inheritance #oop #objectorientedprogramming #python #jennyslectures
Рекомендации по теме
Комментарии
Автор

I qualified UGC-NET JRF JUNE 2023, I am v grateful to you for ur lucid content esp. data structures and algorithms.


Thanku so much .

randomie-fq
Автор

I am learning and passed c by seeing ur videos
Ur such an intelligent and wonderful teacher❤

cm-mohanmsk
Автор

Your teaching style is very effective, I'm understanding what you say very quickly, please try to complete the syllabus as soon as possible.

raghavendraam
Автор

super() and super().__init__() now it is very clear to me, very well understandable explanations. Than you very much.

flipdruid
Автор

Mam i am from Kerala.... And i wish if I could get a luctre like you in my college... Your classes are tremendously awsome... God bless you

shibilycm
Автор

Excellent way of teaching..such a lucidity and the clarity of speech are appreciable!

sayanchatterjee
Автор

mam iam from hyderabad iam studying data science and i see only your lectures from python and you are god gifted to us mam

DosiNarayanaRaghavendra
Автор

Best, beautiful and consistent teacher ever❤❤❤❤❤

Marvelkashmir
Автор

Thanks to my very beautiful and intelligent teacher. I was having a hard time understanding this concept of inheritance until now. Big ups!!

Given_A
Автор

❤️You are the best teacher of students ma'am 🫶👌👌👌👌your 🧠 very intelligent 😁😁

shivanandannagaraj
Автор

You are the most intelligent teacher who explains each and every concepts of programming in a very easy way that helps a lot. Thank you so much Mam ❤❤❤❤

adityakashyap
Автор

Feeling bad not seen this channel in my 1st year anyway thank you so much mam love from andhra ❤️

Harsha_
Автор

Way of explanation is good in all videos ❤

abhaysoni
Автор

1st two mins i will be just seeing your cuitness

After that i am jumping into learning part.
Really your making me learn effectively which is helpfull my growth Jenny 💘

Thank you dear💝💝🙏

atpchiru
Автор

A MATHS EXAMPLE FOR SUPER

class maths:
def __init__(self, a, b):
self.a=a
self.b=b

def add(self):
return self.a + self.b

def multiply(self):
return self.a * self.b


class maths_extension(maths):
def __init__(self, a, b, c):
super().__init__(a, b)
self.c=c

def add(self):
return super().add() + self.c

def multiply(self):
return super().multiply() * self.c


me=maths(3, 4)
print(me.add())
me1 = maths_extension(3, 4, 5)
# We add another number to modify parent method
print(me1.add())
# We multiply another number to modify parent method
print(me1.multiply())

OUTPUT
7
12
60

questforprogramming
Автор

Wonderful lectures that you are giving . I am watching your vedios from c and till now. Thank you so much mam. Line from Andhra Pradesh ❤

swathinetheti
Автор

27:08 , i completed the whole lecture, jenny teacher you made it very simple.
Pl also make a sql series. Will you make or not, pl let me know.
Otherwise this was awesome.

Jai Shree Ram teacherji😊

vaibhavpatharkar
Автор

The best lecture ever..Thank you so much

sudhakshinahk.s
Автор

Note for self : constructor in python don't call parent constructor automatically like in c ++, we need to call explicitly no need of it being the first line.

LearnerHarshalRajeshJain
Автор

You are really inspired loves from kerala❣️

NasarNasar-cvdd