Child cObj = new Parent()
Wahts the output ?
Answer Posted / deepthi
An error. We cant create such kinda objects.
| Is This Answer Correct ? | 20 Yes | 5 No |
Post New Answer View All Answers
What is super in oop?
What are two types of polymorphism?
What is the point of oop?
What is the difference between a constructor and a destructor?
What is object in oop?
What is the real time example of encapsulation?
How do you answer polymorphism?
Can static class have constructor?
hi all..i want to know oops concepts clearly can any1 explain??
What is static in oop?
What are the three parts of a simple empty class?
What is pure oop?
What is the fundamental idea of oop?
Can we have inheritance without polymorphism?
What is encapsulation process?