Computer Science, asked by ojaswakhare7481, 10 months ago

Difference between function overloading and function overriding

Answers

Answered by jaanu55
6

Explanation:1.In over loading there is relation ship between methods available in the same class whereas overridinghas relationship between super class method and subclass method

2.over loading does not block the inheritance from the super class whereas overriding blocks inheritance from the super class

3.In overloading ,separate methods share the same name where as in over ridding subclass method replaces the super class

Similar questions