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 are functions in oop?
What language is oop?
What is difference between inheritance and polymorphism?
class type to basic type conversion
Whats oop mean?
What does and I oop and sksksk mean?
What does <> mean pseudocode?
What is abstraction with example?
Why do we use oop?
Can a varargs method be overloaded?
What are properties in oop?
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 the main feature of oop?
What is difference between oop and pop?
Can private class be inherited?