what's up people how u all doin? Why does Java not support operator overloading?
Answers
Answered by
4
Answer:
Java doesn't support operator overloading because it's a choice made my the creators who wanted to keep the language simple.
Operator overloading allows you to do something extra than what for it is expected for.
Java allows arithmetic operations on elementary numeric types.
Saranghae Lisa❤️❤️❤️❤️❤️
Answered by
13
Answer:
Hey BFFʘ‿ʘ
❤✌✌❤
Java only allows arithmetic operations on elementary numeric types. it some next blessing, because although it's convenient to define operators on other types like complex numbers and their implementation depend idiosyncrasies. so operators don't always do what you accept them to do. By are avoiding operator overloading, it's more transparent which function is called when. A wise design moves in some people's eyes.
Similar questions
Accountancy,
5 months ago
Economy,
5 months ago
Science,
10 months ago
History,
10 months ago
Math,
1 year ago
Science,
1 year ago
Social Sciences,
1 year ago