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 7263Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 11197Post New EA Electronic Arts OOPS Interview Questions
how to nfind out the specific gravity of sand.aggregate,water please help...
What are the purpose of @ngmodule?
What is asp.net and ado net?
How calculate holding company account?
Difference between filesystemresource and classpathresource.
If a 16 story building has 12000ft on each floor. Company a rents 7 floors and company b rents 4 floors. What is the number of square feet of unrented floor space?
User's session is explicitly killed by which method ?
How to hide directory browsing in wordpress from server using .htaccess file?
What files are contained by .xap file?
What is Architecture Explorer?
How does actual cost of maintenance come on maintenance order?
Why dns server is required for active directory?
Explain the main types of waste?
What is the use of newtonsoft json?
How can I prevent another program from modifying part of a file that I am modifying?