why overriding?

Answer Posted / ejaz

In two classes(having parent child/common interface
relation) methods with same signature and execution of
method decided at run time based on object type.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do you explain polymorphism?

590


How do you define social class?

600


What are the three parts of a simple empty class?

1460


What makes a language oop?

597


what are the realtime excercises in C++?

2334






What is polymorphism and example?

592


What is super in oop?

599


Why is destructor used?

583


What are the components of marker interface?

600


What is oops with example?

564


How is polymorphism achieved?

583


How Do you Code Composition and Aggregation in C++ ?

24196


Why is polymorphism needed?

599


Is oop better than procedural?

573


What is the purpose of enum?

581