#60 Python Tutorial for Beginners | Method Overloading and Method Overriding

  Рет қаралды 353,020

Telusko

Telusko

Күн бұрын

Пікірлер: 272
@varunkrishnaKyathanpally
@varunkrishnaKyathanpally 5 жыл бұрын
I will never forget about Method overriding in my life. Thank you:)
@yaminkazmi5547
@yaminkazmi5547 4 жыл бұрын
Same 😂
@telusuk
@telusuk 3 жыл бұрын
Same.🔌😂
@swakal8868
@swakal8868 3 жыл бұрын
same 😁 gr8 teacher
@Saveg36
@Saveg36 3 жыл бұрын
same
@ManpreetSingh-lh5gd
@ManpreetSingh-lh5gd 3 жыл бұрын
same
@giuseppepala8668
@giuseppepala8668 5 жыл бұрын
"My phone overrides my father's phone" Simply brilliant!
@Raja-tt4ll
@Raja-tt4ll 5 жыл бұрын
Yes!
@parth_149
@parth_149 4 жыл бұрын
That was a very good example.
@zakiasmaa6834
@zakiasmaa6834 4 ай бұрын
"My phone overrides my father's phone", Thank you for being such a wonderful teacher and for sharing your knowledge with the world. I'm looking forward to continuing to learn from you!
@lokeshkatikireddi1924
@lokeshkatikireddi1924 4 жыл бұрын
This guy has answer for any question. Awesome work Navin Reddy...
@prashanthmj4907
@prashanthmj4907 4 жыл бұрын
Navin, this quick-learn course is awesome...I have been in the industry for 34+ years and decided to learn Python. I did not want to go to 3-6-9 month course and was looking for a quick overview. Excellent work. Keep it up. I have been programming since 1984 and have used almost all languages and platforms....OMG - there are so many things to remember to accomplish this smart programming using Python. I hope "Go" is not further difficult to learn....
@sonofzues8414
@sonofzues8414 5 жыл бұрын
i Am watching your videos from years, just know your methods are simpler for beginners. and for everyone keep it up.
@vishnukumarpaswan9053
@vishnukumarpaswan9053 4 жыл бұрын
The eg.was just remarkable. The effort u put to make us understand is just insane. Salute to sir.
@tirthpatel7388
@tirthpatel7388 4 жыл бұрын
The Way You Explain Every Concept With a Lovely Example Makes Learning Python So Easy. Thanks Navin Sir❤️❤️❤️.
@niveditaaaaaa
@niveditaaaaaa 2 жыл бұрын
i would have NEVER understood this topic in my university. you made it so simple!!
@inderkaur3012
@inderkaur3012 2 жыл бұрын
Was unable to understand the concept of Method Overriding. But the way you taught this concept, was amazing. Great job!
@abhishekabhi732
@abhishekabhi732 4 жыл бұрын
sir very good example you had taken "i understand the concept perfectly now" thank u for this
@amithsuryat1454
@amithsuryat1454 2 жыл бұрын
Awesome class sir... brilliant teaching... I never forget about Method overriding in my life... 🙏
@kisantimsinacoverz9744
@kisantimsinacoverz9744 4 жыл бұрын
Hey Telesko! I love the way you give examples :-)I m 18 years old and I m learning python through your videos /////thank you very much for making this python series:-);-) I love you a lot for teaching me python
@tonyreddy6897
@tonyreddy6897 3 жыл бұрын
At 6:15 for method overloading, it would be better to pass 0 than None as we can skip that if condition.
@versatile7713
@versatile7713 2 жыл бұрын
What if you pass strings as arguments
@gandamraviteja7019
@gandamraviteja7019 4 жыл бұрын
awesome sir none of my teachers or google haven't explained this concept like this.... u are simply awesome sir.....
@PhoenixRisingFromAshes471
@PhoenixRisingFromAshes471 6 жыл бұрын
Sir your content is very very good .Although you take some time to post a video but the quality that we get is very good which compensates everything.Sir we can even wait for a year if the content is good so sir take some time and keep on posting such awesome videos on python because you are our only source of knowledge. :)
@janardan3210
@janardan3210 4 жыл бұрын
The best example of method overriding.. I will remember it definately
@sumukhyr5954
@sumukhyr5954 5 жыл бұрын
Sir instead of assigning None to a , b , c variable in sum method , we can assign it to zero . So that we no need to check the None value of the arguments.
@deveshbhardwaj896
@deveshbhardwaj896 5 жыл бұрын
My point exactly
@sumanthchatra8242
@sumanthchatra8242 4 жыл бұрын
Or maybe to any number you want🤷🏻‍♂️
@MrHmm-cv6gs
@MrHmm-cv6gs 4 жыл бұрын
def sum(a=0, b=0, c=0): I think you want to say this👆
@vishnukumarpaswan9053
@vishnukumarpaswan9053 4 жыл бұрын
Even i thought that bro.
@prakashtiwari8683
@prakashtiwari8683 4 жыл бұрын
Sahi Bat hai.
@vivek3861
@vivek3861 6 жыл бұрын
The only content which is alive. Sir you don't have to worry about uploading videos faster, take your time. I know how much it takes to make a content like this. Thanks for your amazing content. It is very unique and not much complicated.
@synthiapyre5618
@synthiapyre5618 4 жыл бұрын
"I was not having a phone.", sounds so Shakespearean.
@legendworldclass8832
@legendworldclass8832 Ай бұрын
After 3 years when I am now going for job interviews & tests , still watching your playlist to refresh up, Kudos to you Sir
@Daniel-om8wm
@Daniel-om8wm 5 жыл бұрын
Every one of your videos will have 100k views soon. You rock bro.
@mahendrashah9810
@mahendrashah9810 5 жыл бұрын
what a explaining sir.....! who are dislike the Videos understanding very well and teaching is awesomeeee
@kaustavpaul9306
@kaustavpaul9306 2 жыл бұрын
This phone example was the best which I got in this topic all over the internet. ✅ ❤️ Explained
@subhayanmajumder2756
@subhayanmajumder2756 3 жыл бұрын
"Method Overriding " love u sir,u r god
@mr.strange7002
@mr.strange7002 Жыл бұрын
That's a great example i never forget overriding and inheritance from now thanks a lot 👍
@Rafi-nc3nw
@Rafi-nc3nw 3 жыл бұрын
Sir is world's number 1 teacher. No doubt on this. 🤗🤗
@fireworks6795
@fireworks6795 5 жыл бұрын
it is a very good idea to have tutorial for practices, in which after watching tutorial of the concept we can learn better via practices. thank you
@NewbieInForeignLand
@NewbieInForeignLand 5 жыл бұрын
Awesome videos sir 👌👌 & it's fun watching your videos while going to office daily. I never get bored & it's really very easy to recall all the concepts the way you explain them. Hats off to you. I loved the example you gave Nokia & Motorola 😃😄 Keep going sir 😄
@ROHIT-gv7xk
@ROHIT-gv7xk 5 жыл бұрын
good explanation of method overriding
@sudiptamondal5182
@sudiptamondal5182 Жыл бұрын
Sir I am from humanities background and currently working as a professional Interior Designer. I am 31years old and recently my partner suggested me to have a look into your videos when I told her I want to learn Python. I have no prior knowledge of coding or anything but after seeing and watching your videos I must say I am in love with the way you teach. If I can ever switch my career from being a designer to a developer of coder, I would thank you from the core of my heart. I am learning so much from you. Thank you once again.
@bijenadhikari
@bijenadhikari 4 жыл бұрын
i think i will not forget this overriding concept . thanks man.
@SureshAkkavarapu
@SureshAkkavarapu Жыл бұрын
Kudos🤩 , his explanation of standards and quality is awesome ....phone overrides ex is unique & top notch
@vinaymt6426
@vinaymt6426 5 жыл бұрын
Story to explain method overriding is superb❤️
@rivalkido1162
@rivalkido1162 4 жыл бұрын
6:07 you don't need that lengthy code just set default values of a, b, c as 0
@nsptech9773
@nsptech9773 3 жыл бұрын
Yes
@AudeJavel12
@AudeJavel12 4 жыл бұрын
min 5:40 , def sum(self, a=None, b=None, c=None): , i use (self,a=0,b=0,c=0): , and then we dont need to use "if a != None" etc conditions. 3 lines of code instead of 6 =))
@harshnathjha1458
@harshnathjha1458 3 жыл бұрын
Another day of thanking God for tutors like you who I owe my engineering degree to.
@pratikrout1400
@pratikrout1400 4 жыл бұрын
you are a great teacher Naveen sir thanks for teaching us python for free. i was going to buy a book to learn python but when i started watching your videos i thought that i dont need one
@prashantsharma2291
@prashantsharma2291 6 жыл бұрын
Such a hardworker you are Sir!
@smritiraj4309
@smritiraj4309 3 жыл бұрын
that example clears all of my doubts about over riding topic.
@sayf8277
@sayf8277 3 жыл бұрын
That father son example is just wow 🔥
@chiragukey7283
@chiragukey7283 4 жыл бұрын
for method overloading using variable length method class student: def sum(self, a, *b): s = a for e in b: s = s+e return s s1 = student() print(s1.sum(4, 5, 6))
@sharathtenugolu5973
@sharathtenugolu5973 4 жыл бұрын
Nice and easy explanation. Thank you so much. :)
@LittleGroot
@LittleGroot 5 жыл бұрын
Sir you are the best your teaching skill is fantabulous keep it up.
@medley5670
@medley5670 3 жыл бұрын
Wooow... U explained the function overriding sooo well😀
@Sahilsharma-xs4mv
@Sahilsharma-xs4mv 6 жыл бұрын
This is a one of quality contents of sir ......you are awesome sir Everyone sees that this video didn't have any dislike s
@shavakchauhan342
@shavakchauhan342 4 жыл бұрын
The father example for method overiding was a brilliant example!!!
@adityaroy6901
@adityaroy6901 4 жыл бұрын
class Student: def sum(self, *b): c = 0 for x in b: c += x return c s1 = Student() print(s1.sum(5, 6, 5, 4)) can we use this for method overloading?
@sampathkumar5699
@sampathkumar5699 3 жыл бұрын
Overriding example is superb
@Maks05N
@Maks05N 4 жыл бұрын
you made me emotional i remembered my old days
@avinash7154
@avinash7154 5 жыл бұрын
awesome example clearly understand that over riding guru navin
@nsailasya1955
@nsailasya1955 Жыл бұрын
That was such a cool example...got the concept just like that
@harsiddhisinghdev4650
@harsiddhisinghdev4650 6 жыл бұрын
Thanks sir please daily upload a video 🚴🚴
@shrishtigarg4674
@shrishtigarg4674 Жыл бұрын
your teaching is best sir thank you for such content.😀
@pavanjain2178
@pavanjain2178 6 жыл бұрын
Enjoying this session very much sir😊😊😊
@slonbeskonechen8310
@slonbeskonechen8310 3 жыл бұрын
Great explanation! Thank you!
@SaiKrishna-bd4yq
@SaiKrishna-bd4yq 4 жыл бұрын
Hi Sir, In Method Overloading, instead of using None can we use zero. Is there any more memory usage of using zero?
@sweetreddy21
@sweetreddy21 4 жыл бұрын
Your are a wolf in the teaching field.
@preyaspatel3656
@preyaspatel3656 6 жыл бұрын
Sir, You are really great in teaching.... Thank you😊😊
@pathansalman7349
@pathansalman7349 Жыл бұрын
Your explanation is easy to understand for everyone
@OASEBAK
@OASEBAK 4 жыл бұрын
crystal clear explanation for method overriding
@Ashfak101
@Ashfak101 3 жыл бұрын
while explaining the Method Overloading, if we set the values of a,b,c to 0 like a=0,b=0,c=0 then we don't have to do all the checks using if condition ? we can call even with a single arg and it would still work
@RohitSharma-cd5bs
@RohitSharma-cd5bs 4 жыл бұрын
Op example sir, hats off to you sir ❤💕❤💕❤
@gracevella9921
@gracevella9921 4 жыл бұрын
Excellent use of example - easy to understand! Thank you
@pawnage3
@pawnage3 3 жыл бұрын
Thank you Mr. Reddy! I really appreciate it.
@joyhalder4640
@joyhalder4640 2 жыл бұрын
Really sir your every class is so helpful for me.
@bhavikjinjala980
@bhavikjinjala980 4 жыл бұрын
Very nice Explanation ✌️
@anandiborade6349
@anandiborade6349 4 жыл бұрын
I will never forget method overriding in my life!!
@giorgi23
@giorgi23 5 жыл бұрын
Great explanation. Note: if a != None: s += a; if b != None: s += b; if c != None: s += c; )))
@yogeerao9149
@yogeerao9149 2 жыл бұрын
I am become fan of your phone example with Method Overriding
@gadapasaikrupa9998
@gadapasaikrupa9998 3 жыл бұрын
boss really fantastic father and son story.love u
@brosebg4012
@brosebg4012 3 жыл бұрын
Overriding is same as MRO(Method Resolution Order), right??
@lavasrani3887
@lavasrani3887 4 жыл бұрын
Thank You sir for your amazing videos. But sir while method loading instead of using None in default parameter if we assign the value 0 to it we won't require the condition part that is if else part.
@ManideepGoudNimmala
@ManideepGoudNimmala 5 жыл бұрын
Well its a simple and a good example for method overriding and thanks for the python course videos
@rohrakhushi
@rohrakhushi 8 ай бұрын
You are an amazing amazing teacher!
@saudzubedi
@saudzubedi 3 жыл бұрын
OMG that was the best example, I've ever heard
@pavankumarchingepally5884
@pavankumarchingepally5884 Жыл бұрын
Thank you for your valuable contribution, Sir.
@vaibhavidharne4618
@vaibhavidharne4618 2 жыл бұрын
sir you explain in a such nice way!! thank you!!
@sunnytawar7020
@sunnytawar7020 4 жыл бұрын
Sir will you please make videos on data structure with python..
@AyushSharma-be4kh
@AyushSharma-be4kh 4 жыл бұрын
Definition of Perfect..!
@DishandDestinationwithQuotes
@DishandDestinationwithQuotes 4 жыл бұрын
kya baaat :) beautifully explained
@RajeevKumar-wq3zm
@RajeevKumar-wq3zm 6 жыл бұрын
Sir, How can we use input function for fetch more than one values from keyboard in a single line... like in c we use scanf(" %d %d ", &a, &b); For Fetch two integer values From keyboard in a single line... how can we do it in python?????
@ROHIT-gv7xk
@ROHIT-gv7xk 5 жыл бұрын
a,b=int(input()) , int(input())
@patteboyinadharani1702
@patteboyinadharani1702 4 жыл бұрын
👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌👌.. Super explanation sir.....
@pawansoni4296
@pawansoni4296 4 жыл бұрын
Dear Sir, Thank you for your efforts and teaching. I have very good learning by your videos. One query I have, In this video in OverLoading part, Where you have used example of NONE for a,b,c. I tried with '0' instead of None and it saved if,elif and else code and Results were same as you have shown. It this method with '0" will work fine, or this NONE can be used in diff scenario? Let me know your view point.
@TheMan.0010
@TheMan.0010 5 жыл бұрын
Agr *args. Kr dein aur len(args) ke basis pe if lga dein to better nhi hoga?
@narangparth
@narangparth 4 жыл бұрын
As per me, the better option for method overloading would be: class A: def sum(self,*a): c=0 for i in a: c=c+i return c a = A() print(a.sum(10,20,30,40))
@supunsoorath9740
@supunsoorath9740 Жыл бұрын
Clear Explanation❤️
@sreenivas6526
@sreenivas6526 6 жыл бұрын
Sir, can use **kargs in method overloading
@uselesscontent5998
@uselesscontent5998 4 жыл бұрын
Yes
@nareshgopanaboina6644
@nareshgopanaboina6644 4 жыл бұрын
**kargs for dictionary aruments like key value pair,, if you not sure how many args you are passing just use *args it takes as list ,,,args and kargs are just convention you and use any names but *, ** important to note
@anandiborade6349
@anandiborade6349 4 жыл бұрын
Navin sir, what is the difference between parameters and arguments.
@Dhananjoybhatta123
@Dhananjoybhatta123 4 жыл бұрын
Awesome concept. Seriously sir, you teach in a great way. I will be looking for your next videos to understand the usage of this concept in depth.
@JIT100TV
@JIT100TV 4 жыл бұрын
Is there a way to count how many attributes i am passing in a object? Like in custom len fucntion? I tried to do it in that way but can't find the way to do it. 😕
@srihariks6693
@srihariks6693 5 жыл бұрын
Sir why do we need if,elif and else statements in method sum as it is a default argument ...it takes none when not mentioned and overwritew when mentioned
@amishapagare5845
@amishapagare5845 3 жыл бұрын
why are we taking init method in method overloading ? what is the use? what is the use of line s1=student(58,65)
@dattukoralli1708
@dattukoralli1708 4 жыл бұрын
instead of (self,a=None,b=None,c=None) we can (self,a=0,b=0,c=0) to avoide conditions
@nishokkumar8738
@nishokkumar8738 3 жыл бұрын
Instead of using none we can use zero? Which can make method smaller?
@Dsuguna-s3v
@Dsuguna-s3v 6 ай бұрын
I have a doubt in method over loading what is the use if using __init__methods and using m1 and m2 in the above video ???
@biswajitpaloi2121
@biswajitpaloi2121 3 жыл бұрын
Nice example sir.❤️
@narangparth
@narangparth 4 жыл бұрын
Hi Navin, I work in NIIT Technologies and in my project, we don't use python. I've gone through your videos (till this point), and I'm making my notes as well. But I've noticed that I tend to forget what was taught in previous videos. So, have to jump back and forth. If python was used in our project, then, it would have helped me to practice. But for now, apart from the small assignments, I have nothing much to practice on. Can you please suggest what my next step should be? So, I keep on practicing. Regards, Parth Narang
@debrajbanik4302
@debrajbanik4302 4 жыл бұрын
Awesome Example!!
@debrajbanik4302
@debrajbanik4302 4 жыл бұрын
Thanks For The Comment From Telusko's Side
@abhijitmali6837
@abhijitmali6837 2 жыл бұрын
Thank you sir for this concept very nicely explain
Abstract Class and Abstract Method in Python
12:29
Telusko
Рет қаралды 373 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
小丑教训坏蛋 #小丑 #天使 #shorts
00:49
好人小丑
Рет қаралды 54 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
Method Overloading and Method Overriding| Python Tutorials for Beginners #lec105
17:46
#61 Python Tutorial for Beginners | Iterator
10:48
Telusko
Рет қаралды 356 М.
OOP in Python | Object Oriented Programming
1:45:19
Telusko
Рет қаралды 1,8 МЛН
Method Overriding in Python | Python Tutorial - Day #74
6:27
CodeWithHarry
Рет қаралды 98 М.
Learn Python OOP in under 20 Minutes
18:32
Indently
Рет қаралды 149 М.
Python Full Course for Beginners
6:14:07
Programming with Mosh
Рет қаралды 42 МЛН
#63 Python Tutorial for Beginners | Exception Handling
15:59
Telusko
Рет қаралды 539 М.
#64 Python Tutorial for Beginners | MultiThreading
14:45
Telusko
Рет қаралды 449 М.
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 1,2 МЛН
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН