Multiple Inheritance In C++

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ก.พ. 2025

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

  • @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!

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

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

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

      Good luck!

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

    Thank you for making the inheritance videos.

    • @CppNuts
      @CppNuts  6 ปีที่แล้ว

      Glad you liked it!!

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

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

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

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

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

    again it was so easily understandable !thank you

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

      Glad to hear that!

  • @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

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

    Gd explanation 😍

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

      Thanks man!!

  • @HieuVo-qt1xx
    @HieuVo-qt1xx 3 ปีที่แล้ว

    great video!!

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

      Thanks man..

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

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

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

    can we use virtual keyword to solve the ambiguity

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

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

    • @CppNuts
      @CppNuts  6 ปีที่แล้ว

      Constructor: th-cam.com/video/qKQzpoPk4wk/w-d-xo.html
      Destructor: th-cam.com/video/Fk8LrQ1H6a0/w-d-xo.html

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

    Great

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

      Glad could help.

  • @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 7 หลายเดือนก่อน

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

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

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

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

      Happy to help.