Social Sciences, asked by isabell77, 10 months ago

what's up people how u all doin? Why does Java not support operator overloading?

Answers

Answered by Anonymous
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 wangsakshi2026
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