suppose A is a base class and B is the derved class. Both have a method foo which is defined as a virtual method in the base class. You have a pointer of classs B and you typecast it to A. Now when you call pointer->foo, which method gets called? The next part of the question is, how does the compiler know which method to call?
3 9711Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 14188Post New EA Electronic Arts OOPS Interview Questions
Explain the differences between ActiveX Dll and ActiveX Exe?
When does trashing occur?
What are the main services that are provided by Cloud Computing?
What are the tools placed in android sdk?
Elaborate test plan and content availability in test plan.
Define left outer join?
what is actual drum level and compensated drum level?
What is the purpose of render() function in reactjs?
How do you Parametermap variables in Quiries?
Is java based on c?
Define miasma notion of disease?
What are the main parts of IoT systems?
According to you, what is the amazing aspect of an inside sales job ?
How to get value from dropdown (select) control?
How do you handle datasets larger than 50 gb?