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
What is methods in oop?
How to call a non virtual function in the derived class by using base class pointer
How many human genes are polymorphic?
What is protected in oop?
What does oop mean in snapchat?
What is data binding in oops?
which feature are not hold visual basic of oop?
How do you answer polymorphism?
What is difference between polymorphism and inheritance?
Is this job good for future? can do this job post grduate student?
What is a class in oop?
Why is static class not inherited?
What is polymorphism in oop example?
What are the benefits of polymorphism?
why reinterpret cast is considered dangerous?