Inheritance In C++

Поділитися
Вставка
  • Опубліковано 15 гру 2024

КОМЕНТАРІ • 19

  • @pyaminilakshmi5069
    @pyaminilakshmi5069 Рік тому

    Excellent teaching sir 👏 anyone can easily understand... 👏

    • @SudhakarAtchala
      @SudhakarAtchala  Рік тому

      Thanks a ton. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @tnamen1307
    @tnamen1307 Рік тому

    Very clearly explanation. Thanks.

    • @SudhakarAtchala
      @SudhakarAtchala  Рік тому

      Glad it was helpful! Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @ck4721
    @ck4721 2 роки тому

    Super sir I clearly understand sir❤️🙏👍and very easy example tq so much sir

    • @SudhakarAtchala
      @SudhakarAtchala  2 роки тому

      Welcome.Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @akilas1891
    @akilas1891 3 роки тому

    Nice explanation sir 👍

    • @SudhakarAtchala
      @SudhakarAtchala  3 роки тому

      Thanks Akila. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @suryas1616
    @suryas1616 2 роки тому +1

    Thankyou very much sir

  • @studyktk3223
    @studyktk3223 Рік тому

    Great job ❤

    • @SudhakarAtchala
      @SudhakarAtchala  Рік тому +1

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

    • @studyktk3223
      @studyktk3223 Рік тому

      @@SudhakarAtchala absolutely,
      Best regards from Pakistan,

  • @nagasri259
    @nagasri259 Рік тому +1

    Thank you so much sir ♥️

    • @SudhakarAtchala
      @SudhakarAtchala  Рік тому

      Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @ippilitriveni6724
    @ippilitriveni6724 Рік тому +1

    Sir shall we have same method sum in both the derived classses.

  • @yuvarajkbyuva
    @yuvarajkbyuva 10 місяців тому

    Thank you so much sir 🙏 and I have one doubt sir in header file #include
    Replace to #include

    • @SudhakarAtchala
      @SudhakarAtchala  10 місяців тому

      we can use both ways. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...

  • @tnamen1307
    @tnamen1307 Рік тому

    Sir one have one confusion regarding hierarchical inheritance...
    I have a class B derived from base class A. Both of them have their respective constructors for initializing their respective data members say by accepting values through arguments from main function.
    The base class A has one constructor to initialise the member variables. Also, B also have its own constructor to initialise its data members.
    Finally, all the members of the class A are now available to derived class B. That means there are 2 constructors inside class B.
    Now, when when an obj of class B is declared, how do I pass arguments for each of the 2 constructors to initialise the respective data members??? Or which constructor is called first when the obj of class B is declared?
    Please make new video about this issue. I'm very confusing now.