OOP in Python | Object Oriented Programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ส.ค. 2024
  • Check out our courses:
    Enterprise Java Spring Microservices: go.telusko.com/enterpriseJava
    Coupon: TELUSKO10 (10% Discount)
    Master Java Spring Development : go.telusko.com/masterjava
    Coupon: TELUSKO20 (20% Discount)
    Udemy Courses:
    Spring: go.telusko.com/udemyteluskosp...
    Java:- go.telusko.com/udemyteluskojava
    Java Spring:- go.telusko.com/Udemyjavaspring
    Java For Programmers:- go.telusko.com/javaProgrammers
    Python : go.telusko.com/udemyteluskopy...
    Git : go.telusko.com/udemyteluskogit
    Docker : go.telusko.com/udemyteluskodo...
    For More Queries WhatsApp or Call on : +919008963671
    website : courses.telusko.com/
    Instagram : / navinreddyofficial
    Linkedin : / navinreddy20
    TELUSKO Android App : bit.ly/TeluskoApp
    Object, Class, Inheritance, Polymorphism, Constructor, init
    Python Complete Tutorials: • #0 Python for Beginner...
    Intro - 00:00
    0:16 Introduction
    07:04 Class and Objects
    17:54 The init method
    24:18 Constructor, Self and Comparing Objects
    35:07 Types of Variables
    39:48 Types of Methods
    51:16 Inner Class
    58:23 Inheritance
    1:04:59 Constructor in Inheritance
    1:13:54 Polymorphism
    1:14:48 Duck Typing
    1:20:51 Operator Overloading
    1:25:11 Method Overloading an Overriding
    Java:- bit.ly/JavaUdemyTelusko
    Spring:- bit.ly/SpringUdemyTelusko
    More Learning :
    Java :- bit.ly/3x6rr0N
    Python :- bit.ly/3GRc7JX
    Django :- bit.ly/3MmoJK6
    JavaScript :- bit.ly/3tiAlHo
    Node JS :- bit.ly/3GT4liq
    Rest Api :-bit.ly/3MjhZwt
    Servlet :- bit.ly/3Q7eA7k
    Spring Framework :- bit.ly/3xi7buh
    Design Patterns in Java :- bit.ly/3MocXiq
    Docker :- bit.ly/3xjWzLA
    Blockchain Tutorial :- bit.ly/3NSbOkc
    Corda Tutorial:- bit.ly/3thbUKa
    Hyperledger Fabric :- bit.ly/38RZCRB
    NoSQL Tutorial :- bit.ly/3aJpRuc
    Mysql Tutorial :- bit.ly/3thpr4L
    Data Structures using Java :- bit.ly/3MuJa7S
    Git Tutorial :- bit.ly/3NXyCPu
    Donation:
    PayPal Id : navinreddy20
    www.telusko.com
    #python #oop #telusko
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 1.3K

  • @pritam937
    @pritam937 4 ปีที่แล้ว +539

    Kudos to this guy. I would give this guy 1000 likes if i could....
    This guy just literally cleared all my doubts regarding OOPS in Python...

    • @dan-gu1ty
      @dan-gu1ty 4 ปีที่แล้ว +3

      @Deep thud Zero.

    • @marvel438
      @marvel438 4 ปีที่แล้ว +4

      @Kraken Modern problems. Modern solutions.

    • @decader4609
      @decader4609 4 ปีที่แล้ว +2

      @Kraken 1000 sim cards as well.

    • @anmolsingh4969
      @anmolsingh4969 4 ปีที่แล้ว

      @@decader4609 😂

    • @bishnunath5699
      @bishnunath5699 3 ปีที่แล้ว +10

      Technically if u like 1000 times from one acc it will end up in without a like
      Just kidding

  • @flipndip5122
    @flipndip5122 4 ปีที่แล้ว +879

    "If im a corporation every employee is an object" Deep man, deep.

    • @darkdailo2987
      @darkdailo2987 4 ปีที่แล้ว +9

      lmfoa XD

    • @ahuman4
      @ahuman4 4 ปีที่แล้ว +4

      lmfoa 😑

    • @brunosilva3170
      @brunosilva3170 3 ปีที่แล้ว +1

      🤣🤣🤣

    • @Mushsayer
      @Mushsayer 3 ปีที่แล้ว +1

      :)

    • @mavericks.9638
      @mavericks.9638 3 ปีที่แล้ว +1

      how about different groups or departments within an organization or corp?
      what would they be?

  • @notreallyhaarsh
    @notreallyhaarsh 4 ปีที่แล้ว +244

    1:29:52
    "This is the horrible way of comparing students with marks..."
    You touched my heart.💗

    • @enigma2886
      @enigma2886 3 ปีที่แล้ว +9

      do not like this comment anymore leave it at 69 please

    • @hemalpatel3770
      @hemalpatel3770 3 ปีที่แล้ว +1

      @@enigma2886 Hahahahhaahha

    • @sithummethmika1676
      @sithummethmika1676 3 ปีที่แล้ว +2

      @@enigma2886 it is right now 131

    • @ankitsingh_263
      @ankitsingh_263 2 ปีที่แล้ว

      😐

    • @Dinesh-wc8jw
      @Dinesh-wc8jw 4 หลายเดือนก่อน

      one hundred percent bro❤

  • @devarapallivamsi7064
    @devarapallivamsi7064 ปีที่แล้ว +28

    Having knowledge is different from being able to share it in a clear, concise manner and this is where Navin reddy sir comes in. Luckiest is the one who gets a teacher like you in every subject.

  • @suryamgupta4467
    @suryamgupta4467 3 ปีที่แล้ว +59

    This is genuinely one of the best videos out here for OOPs concept in Python. Everything was taught was sooo freaking well, with real life and examples and code and it's explanation, amazing, great work man!

  • @sahilpabale1932
    @sahilpabale1932 4 ปีที่แล้ว +43

    TIME LINE
    0:16 Introduction
    07:04 Class and Objects
    17:54 The _init_ method
    24:18 Constructor, Self and Comparing Objects
    35:07 Types of Variables
    39:48 Types of Methods
    51:16 Inner Class
    58:23 Inheritance
    1:04:59 Constructor in Inheritance
    1:13:54 Polymorphism
    1:14:48 Duck Typing
    1:20:51 Operator Overloading
    1:25:11 Method Overloading and Overriding

    • @tankytitan1304
      @tankytitan1304 4 ปีที่แล้ว +3

      Can everyone stop pasting these timelines. It's in the description box

    • @vaibhavchauhan5312
      @vaibhavchauhan5312 11 หลายเดือนก่อน

      ​@@tankytitan1304the one in the description is referred from the comments dude

  • @shannonramirezslater4909
    @shannonramirezslater4909 3 ปีที่แล้ว +18

    The way you break down concepts into comprehensible pieces is amazing. I'm so grateful for your videos.

  • @ManzoorHussain-gz1vk
    @ManzoorHussain-gz1vk 3 ปีที่แล้ว +19

    Thank you, sir. You don't teach stories, you come directly to the point that is actually needed. I learned so much from your Java programming videos. Stay blessed

  • @Nanjayal
    @Nanjayal 5 ปีที่แล้ว +30

    17 minutes into the lesson and I''m liking it already. Great stuff!

  • @vikasrajput1957
    @vikasrajput1957 4 ปีที่แล้ว +232

    finally found something that made me understand oop

  • @HimadriShankarSen
    @HimadriShankarSen 3 ปีที่แล้ว +70

    Man!!!! I never knew I would understand at least the basics of OOP one fine day!! And that day is today... I cannot thank you enough, what a brilliant teacher you are. Your examples are amazing and I am really happy to have watched your videos today. Liked and subscribed. :)

    • @RickC-ew7zs
      @RickC-ew7zs 2 ปีที่แล้ว

      and i subbed your channel. noice soothing music, you make :) also, wakanda electric guitar and pedals are you using in John mayer gravity cover?

  • @sushma9139
    @sushma9139 4 ปีที่แล้ว +20

    You are a natural teacher, so good at explaining things by comparing them real world scenarios. Inspiring work 👍

  • @smhere
    @smhere 3 ปีที่แล้ว +20

    It couldn't be easy for me to understand Oops without telusko.
    Thank You, Navin.

  • @rupakdutta5577
    @rupakdutta5577 3 ปีที่แล้ว +23

    4 years of Programming and no one taught OOPs concepts so clearly :) Thanks you are a savior

  • @akshataggarwal9102
    @akshataggarwal9102 3 ปีที่แล้ว +31

    There's something really cool about the fact that the dev community as a whole, just decided to ignore the fact that the acronym for Python Object Oriented Programming is POOP

    • @dagdbot83
      @dagdbot83 3 ปีที่แล้ว +2

      POOP is hard but this video is laxative
      I'll bring myself out

  • @emils-j.3586
    @emils-j.3586 4 ปีที่แล้ว +9

    Great run-through. Simple, clear code examples. Easy to understand.
    Would recommend to a friend.

  • @UttamDas-ps4eo
    @UttamDas-ps4eo 3 ปีที่แล้ว +13

    you're legend, thank you for the amount of effort! deep understanding comes from practice but you've already put all the deep stuffs so we are already ahead!

  • @ayushiagarwal6996
    @ayushiagarwal6996 2 ปีที่แล้ว +4

    This was literally very easy to follow and the way you clear why(s) and how(s) is amazing!

  • @aadesh9949
    @aadesh9949 4 ปีที่แล้ว +1

    The problem with other youtube tutorials are they dont show you where you can go wrong . you just earned yourself a subscriber. great content

  • @awusacollins
    @awusacollins 2 ปีที่แล้ว +1

    Fast, clear and easy to comprehend. A like no other django course on TH-cam

  • @mehedihasantushar1714
    @mehedihasantushar1714 4 ปีที่แล้ว +22

    The only one on internet to whom i can trust! Love from Bangladesh!

  • @vivekunique90
    @vivekunique90 4 ปีที่แล้ว +9

    Simple and Very Clear Understanding...Since a long time I was struggling with OOPS concepts but today, it got cleared mostly and I hope I will clear my interview as well for which I'm preparing ;)

  • @anirudhgangadhar6158
    @anirudhgangadhar6158 ปีที่แล้ว +1

    This is so so good. For years, I never understood OOP but am getting a good feel for it now. Thanks so much :D

  • @anikbarua4834
    @anikbarua4834 4 ปีที่แล้ว +5

    Finally got a video that explains that OOP is a way of thinking with the concept behind class and object. Thanks man

  • @hackervinson2202
    @hackervinson2202 3 ปีที่แล้ว +3

    Sir, You're awesome. You cleared the concept of oops in simple manner which most of ones don't do.

  • @umairahmed2459
    @umairahmed2459 4 ปีที่แล้ว +12

    Just Amazing, Although i knew most of the concepts but your way of explaining is just amazing. Learnt couple of new things

  • @rutvijgajjar5172
    @rutvijgajjar5172 3 ปีที่แล้ว +2

    Man! You just took my OOP knowledge to a different level. Thanks!

  • @aibeads9558
    @aibeads9558 2 ปีที่แล้ว +10

    Hi! Thanks for such a detailed lecture on OOP concepts using python. I found it really useful and wanted to say you thanks for all the efforts you put. Because earlier I got just very abstract level touch of classes but concepts like inheritance, class/static variables, instance variables, Class Methods, Instance Methods, Static Methods, Polymorphism, Duck typing, Operator overloading, Method Overloading techniques in Python and method Overriding. I learned a lot and really wanted to say you thanks for such detailed and in depth lecture which actually was different from others available on TH-cam and was very informative.

  • @AmriteshGaniger
    @AmriteshGaniger 4 ปีที่แล้ว +13

    Dude you make programming more fun than ever. Thank u Navin garu :p

  • @anything_jara_hatke5237
    @anything_jara_hatke5237 4 ปีที่แล้ว +9

    Sir, as I always say about you that you are totally awesome. Your videos have so much stuff that a person who did not know anything about coding can also become a legend in coding. Thank you for making such great videos. Thank you very much sir.

  • @harshdubey4037
    @harshdubey4037 2 ปีที่แล้ว +1

    thanks to you weeks of my hardwork has finally paid off....i didnt got good teachers in college none anyone online explaining all these stuffs in detail..kudos..thankyou very much

  • @HarshitKumar-kn2sc
    @HarshitKumar-kn2sc 2 ปีที่แล้ว

    Thanks for uploading this video. Anyone who has watched the video knows how awesome it is .
    Now I comprehend OOP very well but can't comprehend my gratitude.❤

  • @VarchasVMelodies
    @VarchasVMelodies 5 ปีที่แล้ว +15

    I'm looking for React tutorial of this level. Amazing work. This is the first programming related channel that I've subscribed to. Waiting for React tutorial 2019!
    Melodious respect!

  • @abduljelilali568
    @abduljelilali568 2 ปีที่แล้ว +4

    great guy. lots of motives to teach. loved his passion. thanks, and stay blessed

  • @shubhamdubey8668
    @shubhamdubey8668 3 ปีที่แล้ว +1

    I don't know , how many times I took lecture related to OOPS but frankly speaking this 2 hours clear my all doubts simply amazing

  • @pranjalpatil3360
    @pranjalpatil3360 3 ปีที่แล้ว

    Amazing ! there was not one minute when I zoned out of what you were saying. Love the way you teach! Thank you

  • @paramsci
    @paramsci 5 ปีที่แล้ว +110

    I am surprised that I sat through the entire video in one sitting. Can't remember last time I did that! even for a movie. In all honesty, good explanation of the concepts, I am excited to learn more.

    • @eknowledgec
      @eknowledgec 4 ปีที่แล้ว

      Haha .. same happened to me...lol
      Thank you very much Telusko!!

    • @AbuFatima82
      @AbuFatima82 4 ปีที่แล้ว

      same here!

    • @hemalkarambelkar9638
      @hemalkarambelkar9638 4 ปีที่แล้ว

      Same happened to me too.

    • @aravindtnpsc4568
      @aravindtnpsc4568 4 ปีที่แล้ว

      Same here with grit and determination and this alien level of teaching , learning is really a lot easier

    • @hitendertomar4598
      @hitendertomar4598 2 ปีที่แล้ว

      not the same here

  • @Reivivus
    @Reivivus 4 ปีที่แล้ว +4

    Wow, your explanation is a great use of my time!
    I like your explanation that a child class has all the features of its parent classes!

  • @kartickchandramanna267
    @kartickchandramanna267 ปีที่แล้ว +1

    What a depth discussion about OOP in Python ! I have no words to thanks you.🙏🙏

  • @haydenhoodless2055
    @haydenhoodless2055 4 ปีที่แล้ว

    Good pace. Some tutorials go too fast and others too slow. You don't leave out information and you go at a pace that isn't boring. Great video.

  • @sairamyerramshetti5712
    @sairamyerramshetti5712 5 ปีที่แล้ว +8

    Really wonder man I am very pleasure to watch it. Real time examples make me to understand more Clearly. Thank you so much. Please make more videos on SQL also. 💯✌

  • @sandeshak6452
    @sandeshak6452 4 ปีที่แล้ว +4

    Navin, your explanations on the concept were excellent. Really appreciable

  • @Justobolsa
    @Justobolsa 3 ปีที่แล้ว +2

    Great tutorial. Few people explain classes' background as deep as you do.

  • @dannyezechukwu1175
    @dannyezechukwu1175 ปีที่แล้ว

    Absolutely incredible. Words cannot describe how great Navin is as a teacher. Than k you so much!

  • @deki90to
    @deki90to 3 ปีที่แล้ว +3

    Seriously, programming is useless without your explanations. Never stop doing this! You are the only person who know how to get into people minds!

  • @Kman3107
    @Kman3107 4 ปีที่แล้ว +4

    oh lord. I just watched the whole thing in one sitting. Thanks.

  • @kiranachanta6631
    @kiranachanta6631 4 ปีที่แล้ว +2

    one of the best videos i have watched in the recent times. All the OOP's bundled in one go!! Awesome explaination + presentation!! Cheers Telusko.

  • @aquacube
    @aquacube 4 ปีที่แล้ว +2

    Thanks, this helped more then anything else I could find on TH-cam

  • @RameshKumar-pk3si
    @RameshKumar-pk3si 5 ปีที่แล้ว +4

    Dear , Navin Sir, Thank you So Much.for this Amazing Video .Your Real World Examples are So Good . Animations make this tutorial super helpful .Because Object Oriented Programing is always about real world matters .I wish to thanks all peoples in Telusko team for creating such a High Quality content and Tutorial and all the Very Best .

  • @nafi7393
    @nafi7393 3 ปีที่แล้ว +5

    this helps me a lot!! I took a paid course on Udemy but couldn't understand OOP!
    but watching this video really helped me to understand the OOP concepts.
    CAN"T THANK YOU ENOUGH!

  • @MrHucker09
    @MrHucker09 3 ปีที่แล้ว +2

    Awesome work. Combining all the videos in to one is a huge help. 👍

  • @_KuchBhi_
    @_KuchBhi_ 4 ปีที่แล้ว +2

    Just paused the video in between liked it, shared it on my college group and just wanted to thank this man! OOP would be never so easy for me without this video. Thanks a Ton ❤

  • @hemalkarambelkar9638
    @hemalkarambelkar9638 4 ปีที่แล้ว +3

    Excellent video, I sat through the whole video. It was a good idea to create a single video for OOPS and separate the part from the rest of the Python tutorials.

  • @faizanurrahman6921
    @faizanurrahman6921 4 ปีที่แล้ว +3

    Thank you for the pro-level tutorial.

  • @vamsikolati
    @vamsikolati 4 ปีที่แล้ว +2

    Thanks !! I have been watching a lot of tutorials on oops but this one makes it look easy and comprehensible.

  • @eswarnvnseswar3603
    @eswarnvnseswar3603 4 ปีที่แล้ว

    Its such a clean and understandable lecture. Probably OOPs became easier to understand because of your explanation style. Thanks for the video !!!

  • @123ramp
    @123ramp ปีที่แล้ว +3

    I was struggling to understand OOPs quite for some time, This session gave me clear idea on OOPS ofcourse lot more to learn.. but kudos to Navin. Thankyou so much!!

  • @rupshaghosh116
    @rupshaghosh116 4 ปีที่แล้ว +4

    This was a great video that puts together all the fundamentals of OOP with python.
    As a learner I would like to know more about the MRO concept, how to overcome it, etc

  • @sergeynovac459
    @sergeynovac459 4 ปีที่แล้ว +1

    this one is the best explanation of python's OOP i've seen in years

  • @marufhossen1149
    @marufhossen1149 2 ปีที่แล้ว +1

    I could not stop commenting to appreciate you. Really one of the best videos in OOP. Thanks

  • @harshmodi2553
    @harshmodi2553 4 ปีที่แล้ว +178

    class review:
    def experience(self):
    print('Amazing Fundamentals...Thank you very much')
    a = review()
    a.experience()

    • @sergiokornilov
      @sergiokornilov 4 ปีที่แล้ว +21

      should be "class Review:"

    • @emils-j.3586
      @emils-j.3586 4 ปีที่แล้ว +7

      @@sergiokornilov Also, indentation error.

    • @emils-j.3586
      @emils-j.3586 4 ปีที่แล้ว +1

      Just checking

    • @emils-j.3586
      @emils-j.3586 4 ปีที่แล้ว +1

      how deep

    • @emils-j.3586
      @emils-j.3586 4 ปีที่แล้ว +1

      the indentation rabbit hole

  • @MuhammadAwais-rp8po
    @MuhammadAwais-rp8po 2 ปีที่แล้ว +3

    i've just completed this course! Great Explanation Sir and thanks a lot!

  • @budhadityarano9009
    @budhadityarano9009 4 ปีที่แล้ว

    You are such a great teacher. You have a perspective on how a beginner understands. These lectures can be grasped easily. Like these very much.

  • @chdfnh
    @chdfnh 4 ปีที่แล้ว +1

    Thanks! I come from C++ and I was used to work with OOP, now that I watched this video, I realized that I don't need it that much in Python

  • @kannappansuresh2447
    @kannappansuresh2447 2 ปีที่แล้ว +8

    Amazing content man. I'm a python developer by profession, this video helped me cover the OOPS concepts in python very effectively.

    • @sweetykiduniyaa
      @sweetykiduniyaa ปีที่แล้ว

      Hi sir I'm a student currently in first year can you please guide me through the path of python developer

  • @riturajsingh9744
    @riturajsingh9744 2 ปีที่แล้ว +61

    I had pursued an online course ( worth 8500INR )from one such online coding teaching company and was literally crying because I was unable to understand OOPS at all. I watched this video and let me tell you, I am Very very confident in OOPS. I will also look for some more videos on this channel as and when needed. Thank you, sir. Time needs teachers like you who deliver such content for free. Thanks a lot!!

    • @ManishThakur-lm7gh
      @ManishThakur-lm7gh 2 ปีที่แล้ว

      "literally crying" 🤣

    • @manoranjansingh7762
      @manoranjansingh7762 ปีที่แล้ว +1

      Hmko v sikha dena bro😉

    • @singhrituraj3909
      @singhrituraj3909 ปีที่แล้ว

      @@manoranjansingh7762 are bhai 😂😂 jrur. Video dekh comments nhi 😂

    • @manoranjansingh7762
      @manoranjansingh7762 ปีที่แล้ว

      @@singhrituraj3909 itna pasand aaya ki video dekh liye 3 baar😅

  • @vishwajeetmachale8501
    @vishwajeetmachale8501 ปีที่แล้ว

    Mindblowing explaination.Started watching few minutes ago and already loving it.The way every point explained is appreciable.thank u

  • @shaikmaksood8774
    @shaikmaksood8774 4 ปีที่แล้ว +2

    Thanks a lot after seeing many videos I had not understood the OOPS but after seeing your video understood the concepts.

  • @onee
    @onee 4 ปีที่แล้ว +9

    Finally a proper tutorial. For some reason other TH-camrs act like they can explain this topic in 5 minutes. While in reality this is a complex topic especially for beginners. So, in those 5 minute tutorials you might have a bit of a grasp of what you're doing, but you're still clueless when you are on your own. Thanks for the tutorial! It was very informative!

  • @Carsono5
    @Carsono5 2 ปีที่แล้ว +5

    Thank you so much for the clear explanations. Also, amazing how those students' averages we coincidently the same!

    • @utpalmohane1416
      @utpalmohane1416 2 ปีที่แล้ว

      yeah it was one in a million chance to get the same averages with 3 random numbers

  • @markkennedy9767
    @markkennedy9767 11 หลายเดือนก่อน

    Just watched the first first few minutes but already I like how you give a high level conceptual overview without getting bogged down in the detail. It gives motivation for the detail.

  • @komalbansal3255
    @komalbansal3255 3 ปีที่แล้ว +1

    amazing sir, after watching this all my concepts of OOPs in Python are clear and now i can relate concepts with each other

  • @ricardor2797
    @ricardor2797 5 ปีที่แล้ว +3

    This tutorial is so informative and exciting to watch I feel like I'm learning so much thank you!

  • @narendrakumar1987inn
    @narendrakumar1987inn 4 ปีที่แล้ว +2

    15 minutes in to the video.
    Can't thank you enough. You are the best!

  • @mmmmarada
    @mmmmarada ปีที่แล้ว

    So clear and good. We are home schooling and studying Python and love your channel!

  • @nikhilfromyoutube
    @nikhilfromyoutube 4 ปีที่แล้ว +6

    *Telusko : Makes things simple* ❤

  • @FootyPick
    @FootyPick 5 ปีที่แล้ว +30

    Damn He is legend

    • @vithaln7646
      @vithaln7646 3 ปีที่แล้ว

      he speaks 7 languages including python

  • @datascience3008
    @datascience3008 2 ปีที่แล้ว +1

    the 1st time i saw this i learnt some
    then i went across many videos and made the concept clear
    now im again back here. All the topics are discussed here.and now things are crystal clear.

  • @nutanjha765
    @nutanjha765 2 ปีที่แล้ว

    You are the best teacher I have ever seen. There is no topics which I can't understand with your explanation. Thank you.

  • @AdityaKumar-it8cm
    @AdityaKumar-it8cm 4 ปีที่แล้ว +28

    Just two words for the legend "Freaking Awesome" 👌🙏

  • @utpalmohane1416
    @utpalmohane1416 2 ปีที่แล้ว +3

    This guy is simply awesome.
    He explained the topics as clear as crystal and better than many paid tutors.
    he In such a small video packed amazing treasure of concepts and basics of OOP.
    Love this guy.
    completed this video in 3 days. such a pleasant experience. I actually felt nostalgic at the end of the
    video that its over.
    Thank You Naveen Bhaiya.
    I love you and your work is phenomenon.

    • @Sunil-K01
      @Sunil-K01 ปีที่แล้ว

      I written same that that wrote but __init__ method is not getting call automatically .
      I'm not getting output of __init__ method . Please can u help me

  • @soumyazyx
    @soumyazyx 2 ปีที่แล้ว +1

    Loved every bit of this tutorial - start to end. Many Thanks.

  • @joeleone6276
    @joeleone6276 ปีที่แล้ว +1

    Solid lessons here. Cleared up a lot of question I had about learning OOP in Python.

  • @nyekosamuel1296
    @nyekosamuel1296 5 ปีที่แล้ว +4

    Nice video, so elaborate, do some thing on Django framework

  • @donaraaga
    @donaraaga 5 ปีที่แล้ว +3

    This is an excellent video. Very easy to understand! You are a wonderful teacher. Never stop enlightening others.

    • @uselessupdates1429
      @uselessupdates1429 5 ปีที่แล้ว

      Really!! it means u know about the python!! hahahha

  • @nooruddinimad
    @nooruddinimad 3 ปีที่แล้ว +2

    Hey, great tutorial. I needed to brush up on python OOP before an interview, and your videos were perfect for it. The right mix of theory and practice.

    • @amanasati5198
      @amanasati5198 2 ปีที่แล้ว

      same to you brother😂, I'm here for the same. This person is awesome

  • @bhaskar_5168
    @bhaskar_5168 4 ปีที่แล้ว +1

    Loving your way of explanation...Now OOPs concepts are defined in my brain.

  • @ndroidLover
    @ndroidLover 5 ปีที่แล้ว +8

    Hello sir plzzz make video on Complete Android Development using Kotlin with lots of Projects.....if possible

  • @401anil
    @401anil 5 ปีที่แล้ว +5

    Hi Naveen,
    I am able to see the change of class variable while changing using object instead of class. Is this expected?
    Code:
    class Car:
    # Whatever variables defined here are called class variables
    wheels = 4
    mirrors = 3
    def __init__(self):
    # Whatever variables defined here are called instance variable
    self.company = "Renault"
    self.milage = 20
    self.gear = "Automatic"
    car1 = Car()
    car2 = Car()
    print(car1.wheels, car1.company, car1.milage, car1.gear)
    print(car2.wheels, car2.company, car2.milage, car2.gear)
    car1.company = "BMW"
    car2.company = "Maruti"
    car2.gear = "Manual"
    print(car1.wheels, car1.company, car1.milage, car1.gear)
    print(car2.wheels, car2.company, car2.milage, car2.gear)
    car1.wheels = 5
    print(car1.wheels, car1.company, car1.milage, car1.gear)
    print(car2.wheels, car2.company, car2.milage, car2.gear)
    Output:
    (4, 'Renault', 20, 'Automatic')
    (4, 'Renault', 20, 'Automatic')
    (4, 'BMW', 20, 'Automatic')
    (4, 'Maruti', 20, 'Manual')
    (5, 'BMW', 20, 'Automatic')
    (4, 'Maruti', 20, 'Manual')

    • @kiranpdas
      @kiranpdas 4 ปีที่แล้ว

      Anil A Yes, you can change the value of class variable using the object, but that won’t change the value of the variable for other objects. As in your example, the wheels of car1 was changed to 5 but that of car2 is still 4 and will be 4 for the class as well as any other object you create.

  • @RGMUTEX
    @RGMUTEX ปีที่แล้ว +1

    The level of your teaching is really incredible which you are connected the concept into real world ..
    I understood very well from this tutorial.
    You are really great 🔥💥

  • @anmolgrewal7754
    @anmolgrewal7754 4 ปีที่แล้ว

    you are awsome watched many oop videos tutorials but this is the best.... you made this complex topic so easy to understand i love it thanks a lot for helping me out

  • @durgaprasadsriramoji5111
    @durgaprasadsriramoji5111 4 ปีที่แล้ว +3

    Please explain a simple real time example with calssmethod, staticmethod etc,, which really tells the need for classmethod and staticmethod rather than printing some message.

  • @Naradbringswisdom
    @Naradbringswisdom ปีที่แล้ว +3

    02:53 Even human we treat them as object lol😁

  • @nivethas6561
    @nivethas6561 3 ปีที่แล้ว +2

    Wow!!! It's really amazing, finally, I understood the OOPs concepts, Thank you, sir thank you so much

  • @poojakunder
    @poojakunder 2 ปีที่แล้ว +2

    Amazing session I had ever seen on OOP concept, Thanks a lot Navin !!

  • @aghaammar6439
    @aghaammar6439 3 ปีที่แล้ว +4

    There is my quiz after 10 hours
    Came here for preparation and now I am able to teach the university ..

  • @shr00shr
    @shr00shr ปีที่แล้ว +6

    In operator overloading:
    def __add__(self,other):
    s1 = self.m1 + other.m1
    s2 = self.m2 + other.m2
    s3 = Student(s1,s2)
    return s3
    This one worked well for me!

    • @KN-hg2nv
      @KN-hg2nv ปีที่แล้ว +1

      you're adding m1s and m2s of different students tho.

  • @geekgod9320
    @geekgod9320 4 ปีที่แล้ว +2

    This is an absolutely stunning tutorial!! Loved it honestly. Been watching many of his videos recently and the clarity of concepts is really great. Hope that there will be many more videos coming soon of various fields in tech!! Once again... Thank You so much Sir!!

  • @sayanmandal5322
    @sayanmandal5322 4 ปีที่แล้ว +2

    Believe me Sir, I have watched till now 10-12 different YT channels for understanding this topic, but you made it soo much easy for me to understand. TYSM.....

  • @gararahul2123
    @gararahul2123 3 ปีที่แล้ว +14

    0:16 Introduction
    07:04 Class and Objects
    17:54 The _init_ method
    24:18 Constructor, Self and Comparing Objects
    35:07 Types of Variables
    39:48 Types of Methods
    51:16 Inner Class
    58:23 Inheritance
    1:04:59 Constructor in Inheritance
    1:13:54 Polymorphism
    1:14:48 Duck Typing
    1:20:51 Operator Overloading
    1:25:11 Method Overloading an Overriding