What is polymorphism and example?


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

Post New Answer

More OOPS Interview Questions

How can we use the preprocessor #if and #elseif.

2 Answers  


What do you mean by Encapsulation?

0 Answers   Ittiam Systems,


WHAT IS THE DIFFERENCE BETWEEN OBJECT BASED & OBJECT ORIENTD PROGRAMMING LANGUAGE.(GIVE AT LIST 4 PIONT)

1 Answers   TCS,


difference between structure and union.

2 Answers   ADP, Convergys,


what is SPL in c++.

1 Answers  






explain defference between structure and class with example

1 Answers  


What is class and object with example?

0 Answers  


what are the uses of C++

1 Answers  


What exactly is polymorphism?

0 Answers  


for example A,B,C,D are class all the 4 class contain one method who() but the method who() implementaion is differnet among each class. the relation among the 4 class are A is base class and is inherited by B and C.and from this two B and C where D is inherited. the question is i want to display the output who() method in all the classes(A,B,C,D)the output of who() method is diferrent amond all the class(A,B,C,D) ------A------ virtuval who(print a) override | | who(print b) B C override who(print c) | | -------D------ override who(print d)

2 Answers  


When is it necessary to use member-wise initialization list in C++?

2 Answers   Adobe,


how do u initialize the constant variables

5 Answers   IBM, Siemens,


Categories