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 8402Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 12624Post New EA Electronic Arts Interview Questions
What are the different types of data structures in java?
Does windows 10 home come with office?
What is the role of the callback function in ajax?
How to determine the location of the data directory?
What do you mean by virtual product in magento?
What is a sql profiler?
Can you explain data-driven testing?
How can you do screen scraping in rpa?
Explain what are global variables and explain how do you declare them?
Explain am and fm.
How does ethylene oxide sterilize?
What is the difference between a pointer and a link in c ++?
What is the difference between SELECT and LOAD statements?
Why use batch apex?
What is mvc in swift?