Child cObj = new Parent()
Wahts the output ?
Answer Posted / aditya
Its java syntax where there is no pointers.
So its dynamic method dispatch which is same as virtual
functions of c++.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Advantage and disadvantage of routing in telecom sector
What is ambiguity in inheritance?
What is persistence in oop?
to find out the minimum of two integer number of two different classes using friend function
What is polymorphism and why is it important?
What are the benefits of oop?
Which type does string inherit from?
#include
Get me a number puzzle game-program
Whats is abstraction in oops?
What is the example of polymorphism?
What are properties in 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?
What is object-oriented programming? Webopedia definition
How Do you Code Composition and Aggregation in C++ ?