virtual base class and virtual function are two different concepts A virtual function is a function declared within a base class that can be overridden by a derived class. It allows dynamic binding, enabling the use of a derived class's implementation when working with a base class pointer or reference. On the other hand, a virtual base class is used in cases of multiple inheritance to avoid the "diamond problem." It ensures that only one instance of the base class is shared among the derived classes.
Sir , in early binding, when we call the function of class A We will use (aa.A:: show();) Instead of (aa.A.show();) By according to function overriding
The way sir teaches is really effective........!!!!! I was watching code with harry but i was not able to understand anything.....but after i watched your video.....i gained confidence and positivity and also able to understand this topic!!!! May God bless sir with more knowledge...............so that he could share more knowledge with us.....❤❤❤❤❤❤
Thankyou sir tomorrow is my exam and today I approached to your channel very helpful I will be able to write recollecting the explanation which I had just one day before
The normal method calls and overloaded method calls are examples of early binding, while reflection and method overriding (run time polymorphism) are examples of late binding.
Perfect explanation Sir ................. keep it up. But yet there is a HUGE gap b/w industry and academics. Even IIT and BITS cannot bridge it .............
sir the only channel jaha me ye soch ky ata ho mujy kisi orr channel ky video sy ni samjhna pary ga(20 mins or topic cleared fully) lkn sir ab ne saab topics ko cover kia hy but composition and aggregation sersly mujy or koi isa channel ni mila jaha sy me seehk sako or mujy composition or aggregation ata bhi ni hy
@@codeitup bhai tumhe batana bhul gaya. Mera selection nhi hua. Total 5 log interview diye the. Unme se 3 log ka selection hua hai. Mera nhi hua. Akhara bahut tha lekin we have to move on
Sir ji phyton ka data structure pura padha dijiye hmne aap ki phyton 142 videos aur SQL ke video recursion ke pure video dekhe lekin youTube pe phyton with data structure bahot khoja lekin kisi se padhne me mja nhi aaya aap bhot achha samjhate hai pura samjh me aa jata hai sir please jaldi se jaldi padha dijiye 🙏🙏🙏🙏🙏sir aur phyton ke algorithms bhi 🙏🙏
virtual base class and virtual function are two different concepts
A virtual function is a function declared within a base class that can be overridden by a derived class. It allows dynamic binding, enabling the use of a derived class's implementation when working with a base class pointer or reference.
On the other hand, a virtual base class is used in cases of multiple inheritance to avoid the "diamond problem." It ensures that only one instance of the base class is shared among the derived classes.
true...
Sir best thing about you is, you explain topic with so ease that a beginner can also understand.
Thanks😊
Yep💯😍
Sir , in early binding, when we call the function of class A
We will use (aa.A:: show();)
Instead of (aa.A.show();)
By according to function overriding
Sir , me nepal se hu aapka video video dekh k C++ me pass ho gaya ..❤ Aap ka dil se bahut bahut shukriya, dhanyavaad 🙏
India need more teachers like you. THE BEST
Pakistan also 😩
The way sir teaches is really effective........!!!!! I was watching code with harry but i was not able to understand anything.....but after i watched your video.....i gained confidence and positivity and also able to understand this topic!!!! May God bless sir with more knowledge...............so that he could share more knowledge with us.....❤❤❤❤❤❤
Us
Thanks
Your method of teaching is so good that I got concept by watch this video for only once 🙌
4 days me course complete hone wla h . thnx for this amazing course .
apki wajah se exam me aache marks aa payenge
thanks a lot sir ji 🥰😍😍🤩🤩😘😘😗😗
Most welcome Sujal, keep learning🙂
Same sir
Aapki wajah se hi C++ samajh aai mujhe 😭😭❤❤
Finally i understand this concept with the help of your video.
After watching around 5-10 videos about this concept.
😊👍
sir ur method of teching is just outstanding 😊🎉
Sir your way of explaining is best of allll. ❤❤❤❤❤
Thanks a ton!
Advance congratulations for 100K subscribers, thanks for becoming my teacher and you have wonderful skill of teaching
Most welcome Amit & thank you so much for your precious comment.
God bless you!
@@codeitup thanks sir ji
i have no words for u sir bhut u define so well. no camparison with any teacher u are the best
Thanks a lot, God bless you!
Thankyou sir tomorrow is my exam and today I approached to your channel very helpful I will be able to write recollecting the explanation which I had just one day before
Great 👍
Thank you so much sir for explaining in the easy way 👍👍👍🙂🙂🙂
Most welcome😊
Sir aap bahut achha padhate ho
Thanks😊
The normal method calls and overloaded method calls are examples of early binding, while reflection and method overriding (run time polymorphism) are examples of late binding.
The way of explaining is waoo😳 I can't explain how much your video is helping us❤ thanks you soo much 🙏
sir...wow!! AMAZING!! Mai gadha tha jo pehle ye wali video nhi dekhi!!
😀
Very Good explanation 😊
Perfect explanation Sir ................. keep it up. But yet there is a HUGE gap b/w industry and academics. Even IIT and BITS cannot bridge it .............
Thanks sir my presentation have some issues after watching solve all problem
Thanks ❤❤❤
Very helpful sir Glad to finally find a guy who can give so many concept in single video
this was a difficult concept for me but after watching your video I have understood it well..thankyou sir you are great!!1!
Thanks & most welcome Bisma🙂
Very very very very very very very very gud explained ❤🎉
Glad you liked it.
your lecture's are awesome...love you , love you so much bro...❤
Glad you like them!
why my teachers arent like u. ur explaination is so understadable than my teacher. thanks for the video
Most welcome🙂
This is very useful for Interview
😊👍
Sir R u teacher, becouse u better than teacher. Thankyou sir keep teaching us
Most welcome Milind!
Clear hoga phele thoda confusing huva baad ma jab ap na program run Kiya tab pata chala kiya huva.ckear sir thanks a lot 😊
Very beneficial and nice explanation thanks for this
sir the only channel jaha me ye soch ky ata ho mujy kisi orr channel ky video sy ni samjhna pary ga(20 mins or topic cleared fully) lkn sir ab ne saab topics ko cover kia hy but composition and aggregation sersly mujy or koi isa channel ni mila jaha sy me seehk sako or mujy composition or aggregation ata bhi ni hy
Just thanks are not enough. Take love brother.
So nice of you😇
❤❤
Sir I got Much my Knowledge from your videos.
Marvellous💖 Lub you Ho gya sir
So nice of you!
Thank you so much sir very helpful!
Glad it helped!
very helpful and smooth teaching
Glad you think so!
nicely explained
how could you make such complex topic so easy to understand it's impossible...🤯🤯🤯🤯🤯
Good method of teaching thank you sir may God bless you with all happiness..
You are most welcome!
Thank you❤❤❤ Sir
Very easy explanation 👍👍👍
Most welcome Vishal!
I am watching this video before the university exam🙂but happy with that explanation
Thanks😊
Sir,excellent teaching👏👏👏
Keep watching!
Its really helpful Thank you soo soo much sir respect from Pakistan 🇵🇰🇵🇰
Thanks & most welcome Asma!
god level teaching
Very helpful sir thx a lot ❤❤❤
Always welcome Gaurav!
extremely good explanation sir . all concepts are cleared.
😊👍
very good explanation sir
Keep watching!
Thank you 🙏🏻 very very much ☺️🙏🏻☺️🙏🏻☺️🙏🏻☺️🙏🏻☺️🙏🏻☺️☺️☺️☺️🙏🏻☺️
Sir aapke padhane ka tarika bahut acha hai
Thanks Raj!
Thank you so much sir🙏
Sir your way of teaching is so good that it is easily understandable. Sir can you make a video on 'this' pointer?
got a perfect video on virtual function..👍👌
🙂👍
Woo such a great expalantion happy happy
Glad you liked it!
thanks for the clear explanation sir..
Most welcome😊
sir you are the best. thankyou 👌👌👌
Most welcome!
Best oop teacher alive😊
😊
Thanks sir this video very helpful for me
Glad to help you Aniket!
Very well explained thankuuu so much 😇
Thanks & Most welcome 😊
Very Hard efforts sir . Thanks alot. hats off
behtreen samjhaya bhai
Waooo mujhe ehh topic ni aunda c pr video dek ke smajh lag gya mnu
Excellent teaching....
Complete tutorial to bna dete sir baaki ki to achi h par template baale topic ka yu nhi banaya
I think function Overriding comes under Run time Polymorphism(late binding)------->>> Yes ? No?
ek number
You are the best 🥰
😊
Believe me sir really interesting method.
Thanks😊
oho what a content.....loved it!!
Very easy explanation 🐞
You explained in a very nice way sir, love you sir😘😘
Thanks a ton Upanshu!
Great explanation 😊
Thank you!
Excellent video 😌
Thanks😊
Sir sab sy mazy ki bat mujy ya lagti ha jb ap bolty ho ab es ma twist kab ay ga lot of love from Pakistan
Sir, we cannot, invoke the base class method, using derived class object by dot operator, we have to use scope resolution operator.
G sir ny mistake ki hai ..last lecture ma b ki thi...lakin baad ma sai kr di
sir u have explained so many small small topics in very easiest way,thanku sir☺
Most welcome Kameshwar!
Bhai ek no samghaya hai yaar. Pura concept clear ho gaya. 4 din baad interview hai. I hope mera selection ho jaay.
Best of luck 👍
@@codeitup bhai tumhe batana bhul gaya. Mera selection nhi hua. Total 5 log interview diye the. Unme se 3 log ka selection hua hai. Mera nhi hua. Akhara bahut tha lekin we have to move on
superb!
Thanks a lot!
EXCELLENT EXPLANATION
Best explanation
thnku sir🙏🏼❣️
Welcome!
at 5:34 there should be aa.A::show() instead of aa.A.show()
Sir very thanks for your great teaching
Thanks dear😊
THANK YOU SIR!
You're welcome!
Thank you sir😊😊
Most welcome!
In this program already include abstract coass bcz pure virtual function used!
Best
Sir aggregation and composition b krwa den plz
Very helpful!
Glad it was helpful!
Beautiful sir❤
Thanks 😊
Amazing explanation !!
Thank you!
thank you so much
You're welcome!
Sir meri is month ki salary aapki... . Thank you so much ❤
Sir ji phyton ka data structure pura padha dijiye hmne aap ki phyton 142 videos aur SQL ke video recursion ke pure video dekhe lekin youTube pe phyton with data structure bahot khoja lekin kisi se padhne me mja nhi aaya aap bhot achha samjhate hai pura samjh me aa jata hai sir please jaldi se jaldi padha dijiye 🙏🙏🙏🙏🙏sir aur phyton ke algorithms bhi 🙏🙏
nice explaination sir👍👍
Thanks!
Love from Pakistan ap jsa sir milna bht mushkil ha love u sir 😊
Thank you so much for your love & precious comment!
sir, please make videos over STL in CPP,
b'coz am delightedly want to learn by you.
helpful🙌
This guy can bring a huge disaster in the edtech feild if he comes in public view..
Great and simplified way of explanation.
Teri muskurahate hain takat meri
Inhi se hi mujhko ummid mili.
😀👍