Multiple Inheritance In C++

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

КОМЕНТАРІ • 26

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

    12:00 an (i) missing with a linkage to construction order

  • @konstantinrebrov675
    @konstantinrebrov675 6 років тому +1

    Thank you for making the inheritance videos.

    • @CppNuts
      @CppNuts  6 років тому

      Glad you liked it!!

  • @vukosibaloyi2148
    @vukosibaloyi2148 4 роки тому +1

    This was very helpful. When program is constructing and destruction, which class is first to execute. Very informative video

    • @CppNuts
      @CppNuts  4 роки тому

      Glad it was helpful!

  • @sajeedalreefy4713
    @sajeedalreefy4713 4 роки тому

    again it was so easily understandable !thank you

    • @CppNuts
      @CppNuts  4 роки тому

      Glad to hear that!

  • @ayyasif
    @ayyasif 19 днів тому

    Please can you give us the link in 11:57 ?

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

    dear Rupesh, what about (for example) a MATH class that all classes inherits from? in our example, we cant say "the Rupesh class Is a MATH class" (I'm trying to work with openGL) .
    also on the same question, why all the functions in MATH class are STATIC, thank you so much Rupesh you are the best!!!! :-)

  • @Unanimous-kc2br
    @Unanimous-kc2br Рік тому

    1.If we have the same work() in rupesh then which will run..
    2. If we have base class A and it has functions show() and display() class B derived from A and has show() and class C derived from A and B and has show().Then if we want to call display() of A class then how?
    I have called like c.A::display().but it is showing error.y.Cpuld please tell how to call display of A using d obj

  • @HieuVo-qt1xx
    @HieuVo-qt1xx 3 роки тому

    great video!!

    • @CppNuts
      @CppNuts  3 роки тому +1

      Thanks man..

  • @rhitikkrishnani510
    @rhitikkrishnani510 4 роки тому

    Thank you sir !! I am preparing for my interviews. Really helped me alot !! :) :) Good work sir

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

    can we use virtual keyword to solve the ambiguity

  • @rampandi9302
    @rampandi9302 6 років тому +1

    Gd explanation 😍

    • @CppNuts
      @CppNuts  6 років тому +1

      Thanks man!!

  • @manjunathg8240
    @manjunathg8240 6 років тому +1

    Sir can you add link for construction and destruction order video.

    • @CppNuts
      @CppNuts  6 років тому

      Constructor: ua-cam.com/video/qKQzpoPk4wk/v-deo.html
      Destructor: ua-cam.com/video/Fk8LrQ1H6a0/v-deo.html

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

    Could be great if it also covers ambiguity about member variables means if both engineer and youtuber have variable int x.

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

    Sir I have a qs: what happens if you declared also method work() inside Rupeesh class. Does the compiler access this method instead of the inherited base classes or sill it does not know??

    • @solankikalpesh9764
      @solankikalpesh9764 6 місяців тому

      it will call method of rupesh class because compiler will give preference to local method of class rupesh.🙂

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

    Great

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

      Glad could help.

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

    If we can long for this kind of quality education in colleges

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

      Happy to help.