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 Interview Questions
what is Calculation of Gross Profit Or Gross Loss?
What are the procedures for remitting WCT?
What is the use of the super function in ruby on rails?
Write the steps in Creating ActiveX Dll and Active Exe?
What are the Interesting points in desktop automation?
Why should I learn python in 2019?
what is transformation rules?
Who is the mother of computer?
What is a parameter in tableau?
What does '!' Mean in excel formula?
What are navigation buttons?
What are the antibiotics derived from actinomycetes?
How do we print the grid in adobe photoshop?
What is data type of the surrogate key?
Can we override compareto method?