Python Tutorial #45 - super Method in Python Inheritance

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 มี.ค. 2023
  • Python Tutorial #45 - super Method in Python Inheritance
    In this video by Programming for beginners we will see super Method in Python Inheritance in Python Programming for Beginners, in Python tutorial for beginners series.
    Python programming language is very easy to learn for students and professionals.
    In Python Inheritance we can use method overriding to call method of subclass.
    But if we need to access the superclass method from the subclass, we use the super() method.
    Example using super() method
    ==========
    Python Tutorial for Beginners Playlist:
    • Python Tutorial
    Java Tutorial for Beginners Playlist:
    • Java Tutorial
    All Java Programs Playlist:
    • Java Programs
    Python is a computer programming language often used to build websites and software, automate tasks, and conduct data analysis. Python is a general-purpose language, meaning it can be used to create a variety of different programs and isn't specialized for any specific problems.
    It is very important for students and professionals to learn python programming language that will help you to achieve many tasks easily and to build softwares.
    TH-cam Gears:
    Microphone: amzn.to/3iIk5K3
    Mouse: amzn.to/35irmNF
    Laptop: amzn.to/3iG0jyD
    #PythonTutorial #Programming #PythonForBeginners #PythonTutorialForBeginners
    ============================
    LIKE | SHARE | COMMENT | SUBSCRIBE
    Thanks for watching :)

ความคิดเห็น • 2

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

    Why is the init method not used?

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

      init method is in built constructor we dont have to use it or define it every time, the compiler or while doing programming in oops it will take the init form by default, it is not necessary to use it every time you can make your own method name by yourself