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 9599Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 13991Post New EA Electronic Arts Interview Questions
what’s accessibilityhint?
What do you like the most about the inside sales job ?
Can you explain new content durability?
What is an advantage of polymorphism?
What are the different execution modes available in Pig?
What is & in a url?
Explain reuse mode in product heuristic
What's the difference between unix and linux?
How do you test whether a database in updated when information is entered in the front end?
What is a web pool?
What is a bootstrap 4 card?
What are the some important fields in the eib block?
How to generate random numbers in AWK?
Explain Spark leftOuterJoin() and rightOuterJoin() operation?
At the time of death of a partner, firm gets ________ from the insurance company against the Joint Life Policy taken jointly for all the partners. (a) Policy Amount. (b) Surrender Value. (c) Policy Value for the dead partner and Surrender Value for the rest. (d) Surrender Value for all the partners.