What is polymorphism in oop example?
No Answer is Posted For this Question
Be the First to Post Answer
What exactly is polymorphism?
What is polymorphism what are the different types of polymorphism?
Why is abstraction needed?
what are the different types of qualifier in java?
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)
Difference between realloc() and free?
char* ptr = "Rahul"; *ptr++; printf("%s",ptr); What will be the output
What do you mean by inline function?
How do you answer polymorphism?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
How Do you Code Composition and Aggregation in C++ ?
difference between static and non-static variables?