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 8380Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 12592Post New EA Electronic Arts Interview Questions
How do you combine two text cells in excel?
What is angular 5? Whats new in it?
What are the components of splunk/splunk architecture?
Which startup programs can I disable windows 10?
what are the difference between migration, emigration, and immigration?
What is a variable product or configurable product?
what is the use of catlog or catlogfile?
What is the vector class in java programming?
What is protocol in objective-c?
What Are The Joint Supervisory Teams?
What is the reflection?
Explain me what are the built-in types available in python?
What is application Entry In E-recruiting?
What is miscellaneous expense and when it is used
How to Save UI States in Case of Configuration Changes in Android?