Python Tutorial 23 - Polymorphism in Python

Поделиться
HTML-код
  • Опубликовано: 2 янв 2025

Комментарии • 28

  • @AmanVerma-vz2rc
    @AmanVerma-vz2rc 6 лет назад +12

    There was a miss with print command for obj1 rateofinterest while explain overriding methods. Viewers don't get confused. Pavan Sir Get job , have gone though almost all videos for python and it helped me a lot.. Thanks

  • @deepaleekhare7879
    @deepaleekhare7879 5 лет назад +9

    Hello Sir, at 7:36, print statement is missing in the concept of the overriding methods, so the output should be 0 instead of 10.5...

    • @sumanpalisetty6096
      @sumanpalisetty6096 4 года назад +1

      even you are wrong, it should not return anything as there is no print method. He is just returning in the function

    • @sophiam1726
      @sophiam1726 4 года назад +3

      If print () is given, in that case, it will print both 10.5 and 0

    • @sumanpalisetty6096
      @sumanpalisetty6096 4 года назад

      @@sophiam1726 yes, now you are correct

  • @ShilpiBhargavaiitb
    @ShilpiBhargavaiitb 2 года назад +1

    At 8:06 the answer should be zero, instead of 10.5

  • @arpitakale5281
    @arpitakale5281 2 года назад +2

    Thank you sir for such a informative video

  • @trendyclips9728
    @trendyclips9728 3 года назад +1

    Hello Sir
    I have read in geeks for geeks that method overloading was not supported in python
    In interviews if they ask is it supported or not then what should we answer

  • @sophiam1726
    @sophiam1726 4 года назад +5

    Isn't it true that the default arguments of overloaded functions are not considered as part of the parameter list in overloading methods?
    Ref : def sayHello (self,name=None)
    And this doesn't seem to be method overloading which actually consists of methods with same name differing in no. of arguments and their types specifically

  • @Sawyer3vans
    @Sawyer3vans 3 года назад +3

    "So in the video I'm going to explain about.."
    *TRAIN NOISE*

  • @kirangandham1187
    @kirangandham1187 2 года назад

    hello sir i want to know which app or software is easy to practice the python code

  • @sidhyaraman
    @sidhyaraman 4 года назад

    At 15:15, you put 'selfself' as the parameter for the 'fly' method.

    • @natashameshram
      @natashameshram Год назад

      It still works.. anything can be replaced by self

  • @bunnysunil
    @bunnysunil 4 года назад

    I like your tutorials sir
    I'm following your tutorials(python ) sir
    Sir is there any chances to start django tutorials?
    I'm waiting for django tutorials from your side
    Sir

  • @kunaalkirankumar6938
    @kunaalkirankumar6938 2 года назад

    With all due respect sir, please start by recording in a place where we can't hear loud truck horns. Those of us who used earphones will agree to me.

  • @kumarraj989
    @kumarraj989 5 лет назад +1

    Is overloading always be done using if else in python?

    • @pujithakaricheti954
      @pujithakaricheti954 4 года назад +1

      Noooooo it's our wish we can implement overloading in different ways

  • @tarunkhare1755
    @tarunkhare1755 4 года назад +1

    Multiple mistakes😞

  • @bhujathasoorishetty9700
    @bhujathasoorishetty9700 4 года назад +1

    Am I the only person who thinks that the video is blurry? 😆

  • @andrejpetrovic8240
    @andrejpetrovic8240 4 года назад +3

    override the WHAT o.0???
    Dude you've got to learn english! If you can slower down and be understandable that would be nice!

  • @DharmendraSingh-ds2gx
    @DharmendraSingh-ds2gx 5 лет назад

    But i think method overloading it's not possible in python

    • @sdetpavan
      @sdetpavan  5 лет назад

      Not exactly.

    • @manikantasai4499
      @manikantasai4499 4 года назад

      Method overloading and constructor overloading are not possible. If we declare more one method with same name then python consider only last method.

    • @AsifKhan-dq4gc
      @AsifKhan-dq4gc 3 года назад

      @@manikantasai4499 then is it mean overloading not possible??
      I got confused now it will support or not