Thursday, 3 January 2013

What is method overriding? | OOPS

Method overriding is a feature that allows sub class to provide implementation of a method that is already defined in the main class. This will overrides the implementation in the superclass by providing the same method name, same parameter and same return type.

No comments: