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
Is data hiding and abstraction same?
Why oops is important?
what is the 3 types of system development life cycle
Can a destructor be called directly?
How is class defined?
What is the point of polymorphism?
What is encapsulation in oops?
What are main features of oop?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
Can you explain polymorphism?
What type of loop is a for loop?
What is oops and why we use oops?
hi, this is raju,iam studying b.tech 2nd year,iam want know about group1 and group2 details, and we can studying without going to any instutions? please help me.
What is class and example?
Is oop better than procedural?