adspace


What is method overriding?

Answer Posted / Prabhakar Awasthi

'Method Overriding' is a feature in OOP that allows a subclass to provide its own implementation of a method that is already present in the superclass. When a method with the same signature exists both in the superclass and the subclass, the method from the subclass will be executed when called on an object of the subclass.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category