+ 2
What is the difference between override and overload methods?
What is the difference between override and overload methods? and when to use them?
4 ответов
+ 2
Overriding:
https://en.m.wikipedia.org/wiki/Method_overriding
Overloading:
https://en.m.wikipedia.org/wiki/Function_overloading
+ 2
Afaik you can't overload arithmetic operators in Java. Possible in C++.
+ 2
here is an example that you may want to check to see difference or understand the meanings of overriding and overloading https://code.sololearn.com/c0awDMpDLukF/?ref=app
0
Override means to change the characteristics of the inherited class
Overload means to use something more than what is normally used like you normally use + - for numbers but overload it by adding objects together