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 9664Which is faster post increment or pre increment ? and in which cases should u use either - to increase speed?
4 14112Post New EA Electronic Arts OOPS Interview Questions
What does sh do in linux?
What is spring repository?
Is postgresql distributed?
What is the correct order of the logical query processing phases?
What is operator overloading in c++ example?
Briefly explain apache web server?
What is cdn? Explain
Did you ever ran into a lop sided job that resulted in out of memory error, if yes then how did you handled it ?
What is the use of jmstemplate in spring?
What is the use of awk command in unix?
Which country has the minimum cash to GDP ratio?
Can you explain Blue Prism Lifecycle?
. If employee B is the boss of A and C is the boss of B and D is the boss of C and E is the boss of D. Then write a program using the Database such that if an employee name is Asked to Display it also display his bosses with his name. For eg. If C is displayed it should also display D and E with C?
what is the difference between Power and Distribution transformers ?
What is the importance of static variable?