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 is the point of polymorphism?
What is static modifier?
What is the point of oop?
What is the oops and benefits of oops programming?
What is the highest level of cohesion?
given a set based questions and 5 questions based on it next data sufficiciency questions 2 and 2/3 english sentence completion with options very easy and 2 synononmys paragraph with 10 questions 10 minutes replace =,-,*,% with -,%,+,* type questions 5 3 questions lik following itssickhere itssickthere itssickhere istsickhere which is nt alike the others very easy
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?
What language is oop?
String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?
How do you define a class in oop?
How long to learn object oriented programming?
How to hide the base class functionality in Inheritance?
Is abstract thinking intelligence?
What is the benefit of oop?
Plese get me a perfect C++ program for railway/airway reservation with all details.