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 8617Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 12907Post New EA Electronic Arts Interview Questions
What are the t-codes for creating, changing and summarizing bom?
String class is defined under which package in java?
What is a vector element?
What is basepath codeigniter?
What are java packages?
What is band and why the company needs this?
What is the command to make a file executable in linux?
What is the difference between get and post in php?
What is the purpose of & in scanf?
What is the enumerate() function in python?
what is form requirment for monthly, quartely, and yearly sale return for haryana
What is force active property?
How is Join different from Concatenate?
What is the chemical process that takes place for leaves to change colour?
What is the use of sync in android?