Is it possible to overload operators in Java?
It is not allowed by language design. Java is designed to be maximally readable and explicit.

"+" is overloaded. It is responsible for string concatenation and arithmetic addition.

2015 Nov 28, 11:31:21 AM

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Продолжайте изучать
тесты по Java
Зарегистрируйся сейчас
или Подпишись на будущие тесты