Child cObj = new Parent()
Wahts the output ?
Answer Posted / bangarraju
This is the DownCasting,but using like this
Child* obj=down_cast<Child* >(Parent) either using RTTI
mechanism in C++
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What exactly is polymorphism?
How is polymorphism achieved?
Why is polymorphism important in oop?
how to get the oracle certification? send me the answer
What is the example of polymorphism?
What are the advantages of polymorphism?
What is debug class?what is trace class? What differences are between them? With examples.
What is class encapsulation?
How do you answer polymorphism?
How to call a non virtual function in the derived class by using base class pointer
What is object in oop with example?
What is methods in oop?
Hi friends I have experience of 6 months in website design and maintanence. Now i am looking for other IT jobs.. to switch platform. please post any interview you know in chennai.
How do you achieve runtime polymorphism?
What is abstract class in oops?