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


Please Help Members By Posting Answers For Below Questions

What is abstraction in oop?

635


What are the benefits of oop?

607


What is pure oop?

599


What is abstraction and encapsulation?

575


What is difference between inheritance and polymorphism?

573






officer say me - i am offered to a smoking , then what can you say

1582


What is oops concept with example?

578


can inline function declare in private part of class?

3658


What is destructor give example?

605


What are functions in oop?

586


i got a backdoor offer in process global,Bangalore..Can i work with it?

2326


What is overriding in oop?

550


Why interface is used?

553


Which language is pure oop?

551


What does sksksk mean in text slang?

1537