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

What is virtual function?where and when is it used?

2 Answers   Sitel,


difine hierarchical inheritance.

9 Answers   ASD Lab, TCS,


Finding of the 4 larger (bigger) numbers from the list like{1245,4587,2145,1163,29987,65783.....}

1 Answers   Wipro,


What is the problem with multiple inheritance?

0 Answers  


What is inheritance and how many types of inheritance?

0 Answers  






What is oops?what is its use in software engineering?

0 Answers  


The type of variable a pointer points to must be the part of pointer's definition so that:

1 Answers   Infosys,


write knight tour problem which is present in datastructure

0 Answers  


What is an object?

14 Answers   HCL,


What does oop mean in snapchat?

0 Answers  


what is the difference between ERROR and EXCEPTION?

14 Answers   NIIT, nvidia,


What is the difference between C++ and java?

6 Answers   Atos Origin,


Categories