Overload is the another version of the same function into the class. There can be different parameters, return type in overload functions (i.e Same function and different parameters).
Override is entirely overriding the base class function and creating our own version in the child class. Overridden methods signature and parameters are same.
No comments:
Post a Comment