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 8397Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 12607Post New EA Electronic Arts OOPS Interview Questions
What is compliance and what is the procedure of statutory compliance. Also can anybody send me the procedure for the same purpose. Thanks and Regards, HEERA KAMBOJ
What are events types?
How do you change permissions under linux?
Can a wave happen in the middle of the ocean like in the movie poseidon 2006?
Are wordpress sites free?
Explain what media object in Bootstrap is and what are their types?
Explain a checkpoint and when does it occur?
What is a method in javascript?
What are classes in php?
What is the difference between first () and firstordefault () select methods in linq?
What is Spark Dataset?
What is relative path and absolute path in windows operating system?
What is safety mode on my phone?
What is compaction in hbase?
what are your pet peeves?