What exactly is polymorphism?
No Answer is Posted For this Question
Be the First to Post Answer
Why is polymorphism needed?
define a string class. overload the operator == to compare two strings
2 Answers Birla, Ericsson, HCL, Infosys, Infotech, MCAS, Satyam,
What Is a Polymorphism? How many types of polymorphism and whats that use in application?
what is cast operator?
What is abstraction with example?
What is a class oop?
Why static Function is used in C++?
What is an interface in oop?
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)
Why do we use polymorphism?
define oops with class and object
What do you mean by multiple inheritance and multilevel inheritance? Differentiate between them.