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 8176Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 12319Post New EA Electronic Arts Interview Questions
Is tomcat free to use?
What are autoimmune diseases, and how do rheumatologists diagnose and treat them?
Can you assign an applicant to more than one vacancy simultaneously?
How do I find na in excel?
How do you share a program across different virtual desktops under linux?
what is profile in odi?
How is the sql statement executed?
How to Deploy DBClient in a Web Application?
What is caller?
What is spring core module?
Why is hashmap faster?
What are constructors in angular?
Which datastore object is used?
What is alarm in openstack?
what is enumset?