What is method Overriding ?
Using the same method name with the same argument list and return type called method overriding. However in Java 5, the ruturn type of the overrriding method may be changed with the subtype of the overridden method.
Using the same method name with the same argument list and return type called method overriding. However in Java 5, the ruturn type of the overrriding method may be changed with the subtype of the overridden method.