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!!!! :-)
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
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??
12:00 an (i) missing with a linkage to construction order
Thank you for making the inheritance videos.
Glad you liked it!!
This was very helpful. When program is constructing and destruction, which class is first to execute. Very informative video
Glad it was helpful!
again it was so easily understandable !thank you
Glad to hear that!
Please can you give us the link in 11:57 ?
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!!!! :-)
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
great video!!
Thanks man..
Thank you sir !! I am preparing for my interviews. Really helped me alot !! :) :) Good work sir
Good luck!
can we use virtual keyword to solve the ambiguity
Gd explanation 😍
Thanks man!!
Sir can you add link for construction and destruction order video.
Constructor: ua-cam.com/video/qKQzpoPk4wk/v-deo.html
Destructor: ua-cam.com/video/Fk8LrQ1H6a0/v-deo.html
Could be great if it also covers ambiguity about member variables means if both engineer and youtuber have variable int x.
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??
it will call method of rupesh class because compiler will give preference to local method of class rupesh.🙂
Great
Glad could help.
If we can long for this kind of quality education in colleges
Happy to help.