How compiler selects(internally) required overridden
function in inheritance?

Answers were Sorted based on User's Feedback



How compiler selects(internally) required overridden function in inheritance?..

Answer / deepthi

By using virtual tables,

when Compiler views virtual in a class declaration then for
each class it creats one virtual table

Is This Answer Correct ?    2 Yes 0 No

How compiler selects(internally) required overridden function in inheritance?..

Answer / deepthi

By using virtual tables,

when Compiler views virtual in a class declaration then for
each class it creats one virtual table

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More OOPS Interview Questions

How long to learn object oriented programming?

0 Answers  


What is the purpose of enum?

0 Answers  


sir plz send me a set of questions that been frequently held in written examination during campus selection.

0 Answers   TCS,


What is the difference between abstraction and polymorphism?

0 Answers  


What is the concept of object oriented program?

6 Answers  






what is the virtual function overhead, and what is it used for ? i hope i can get and appropriate answers, thanks a lot....

6 Answers  


Why it is called runtime polymorphism?

0 Answers  


what i oops concept, how many languages supports oops concept?

3 Answers   Value Labs,


Get me an image implementation program.

0 Answers  


What is solid in oops?

0 Answers  


What is polymorphism what is it for and how is it used?

0 Answers  


Describe what an Interface is and how it?s different from a Class.

7 Answers   Spinsys,


Categories