Why do we use polymorphism in oops?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More OOPS Interview Questions

what is mean by design pattern

4 Answers  


Write a macro for swapping integers

5 Answers  


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 Answers   EA Electronic Arts,


What is a function in oop?

0 Answers  


WHEN A COPY CONSTER IS CALL ?

4 Answers  






write a program in c++ to overload the function add (s1,s2) where s1 and s2 are integers and floating point values.

4 Answers  


What is Inheritance, Multiple Inheritance, Shared and Repeatable Inheritance?

4 Answers   Accenture, L&T,


How do you use inheritance in unity?

0 Answers  


can we make game by using c

1 Answers   SmartData,


What causes polymorphism?

0 Answers  


What is the main purpose of inheritance law?

0 Answers  


what are the realtime excercises in C++?

0 Answers   IBM, Wipro,


Categories