What is polymorphism and example?
No Answer is Posted For this Question
Be the First to Post Answer
How can we use the preprocessor #if and #elseif.
What do you mean by Encapsulation?
WHAT IS THE DIFFERENCE BETWEEN OBJECT BASED & OBJECT ORIENTD PROGRAMMING LANGUAGE.(GIVE AT LIST 4 PIONT)
difference between structure and union.
what is SPL in c++.
explain defference between structure and class with example
What is class and object with example?
what are the uses of C++
What exactly is polymorphism?
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)
When is it necessary to use member-wise initialization list in C++?
how do u initialize the constant variables