Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌
Trying my best to share my knowledge with everyone 😊 You can assist me in this vision by sharing my videos & channel with your friends and asking them to subscribe too. That's the biggest help & support you can provide Amutha 😊✌️
Hi just commenting on channels which helped me in one way or the other, land a great job offer from a huge firm! Thanks! I shared the channel with other people too!
Thank you anubhav. Very happy to hear your feedback and positive review. Bas share kardo videos apne dosto main. Bohot help and support hojayega channel ko 😊✌️
Thank you so much for such a wonderful response and review. This really makes me happy to hear that these videos are helpful to you. 😇✌️ Please do share the videos with your friends and keep sharing the knowledge 😇
Thanks Jyoti, means a lot. Please do share the channel with your friends & ask them to join our Subscriber family too😊 that will be the biggest help & support 🤟
I have a big question that I find ambiguous about this video, hope you will see this :) I have more questions but maybe they will all get answered if I simply ask this: Why should I use the virtual inheritance? It seems like it's very similar to create a static member except it's less clear where it comes from and what its value is. What are the circumstances that puts me in the condition of using virtual inheritance? Thanks for the videos! :D
@@TheAdityaVerma It'll be ambiguous as we're inheriting 2 copies of val, one from base class 1 and one from base class 2. The compiler will not know which value to print.
sir here both base class1 and base class 2 have the function of base class 0 so in child class when multiple inheritance takes place does the funtion of base class gets copied twice??
Honestly, this video was quite confusing because you are using derived1::getValue() function to set the tone to the problem, but when we do virtual inheritance this call within the getValue() has no relevance. Would have been better if you cut to the chase right from the beginning : "For hybrid inheritance, the last class in the inherited virtual class list is considered in case of ambuity."
Bro you are teaching wrong thing. When the derived3 object is getting created the compiler goes through both derived1 and derived2 constructor that is why the value changes for val . To prove this place brake points in both constructors.
Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌
underrated channel.I always tell my friends how perfect tutorial u are
I appreciate that!
you are making effort to educate others.thank you.
Trying my best to share my knowledge with everyone 😊
You can assist me in this vision by sharing my videos & channel with your friends and asking them to subscribe too. That's the biggest help & support you can provide Amutha 😊✌️
Thank you so much you made it too easy .. bless you..
Hi just commenting on channels which helped me in one way or the other, land a great job offer from a huge firm! Thanks! I shared the channel with other people too!
Glad to help Adarsh and congrats on your Job. This makes the really Happy 🙂
Great explanation. Even answers all queries which may arise.
you are one of the best guy to explains things in very simple ways. awesome
Sir, you are absolutely amazing. You make the concepts very clear. Thanks a lot.
That's great to know Sneha! I'm glad you liked the videos 😁 please do share them with your friends too ✌️
@@SimpleSnippets Sure !
@@snehastudy4107 thank you 😁
GREAT EXPLANATION, JUST AAZING.
THANKS A LOT...
Bhai tumhara to sikka chalna chahiye tha youtube pe itna ghazab phadaate ho🙌🏻
Thank you anubhav. Very happy to hear your feedback and positive review. Bas share kardo videos apne dosto main. Bohot help and support hojayega channel ko 😊✌️
love your videos. it helps me a lot. the way uv not dragged the videos ...its really easy to understand. thanks a lot
Thank you so much for such a wonderful response and review. This really makes me happy to hear that these videos are helpful to you. 😇✌️
Please do share the videos with your friends and keep sharing the knowledge 😇
Good job 👍👍
Nice representation of work as well as explained well.
Thanks Jyoti, means a lot. Please do share the channel with your friends & ask them to join our Subscriber family too😊 that will be the biggest help & support 🤟
you are the best.............masum
u need to be recognised more. ur amazing
Thank you so much ya. Well you can really help by sharing my videos with your friend. That'll be helpful in sharing the knowledge as well 😇✌️
yes sure
I have a big question that I find ambiguous about this video, hope you will see this :) I have more questions but maybe they will all get answered if I simply ask this: Why should I use the virtual inheritance?
It seems like it's very similar to create a static member except it's less clear where it comes from and what its value is. What are the circumstances that puts me in the condition of using virtual inheritance?
Thanks for the videos! :D
Thank you so much brother for making such beautiful videos. Please keep making these type of videos. Lots of love!!!
Your uploading a good content for programmers another channel secured syntax is also good but for hackers and cybersecurity
Sir why can't we change the base class public data members inside our derived class (not inside constructor) ??
wat if we directly try to print val in get value function of drieved class 3?
will there be any error?
How about you try it and let me know 🤟
@@TheAdityaVerma arey dynamic programming wale bhaiyya
@@TheAdityaVerma It'll be ambiguous as we're inheriting 2 copies of val, one from base class 1 and one from base class 2. The compiler will not know which value to print.
You are much better than vikash pandey
nice job
3:58 does the derived class take copy of the variable val alll do all of them share the same variable?
bro can you explain me why can't we use the same concept in java for multiple and hybrid inheritance?
Java doesn't support multiple inheritance. To implement multiple inheritance in java we use the concept of interface
sir here both base class1 and base class 2 have the function of base class 0 so in child class when multiple inheritance takes place does the funtion of base class gets copied twice??
You are much better than Vikash Pandey.
can you please upload regarding even driven programming???
the code should work if i take member methods instead of constructors
but it gives an error.
❤
Honestly, this video was quite confusing because you are using derived1::getValue() function to set the tone to the problem, but when we do virtual inheritance this call within the getValue() has no relevance. Would have been better if you cut to the chase right from the beginning : "For hybrid inheritance, the last class in the inherited virtual class list is considered in case of ambuity."
10: 00
Bro you are teaching wrong thing.
When the derived3 object is getting created the compiler goes through both derived1 and derived2 constructor that is why the value changes for val . To prove this place brake points in both constructors.