"+" is the only overloaded operator in Java ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

"+" is the only overloaded operator in Java ?

I can't understand why. Is that means whether use String+String or int+int are correct ?

3rd Jul 2017, 8:28 AM
Corey
Corey - avatar
5 Answers
+ 12
clear explanation
3rd Jul 2017, 10:01 AM
Ant●ny
+ 7
That makes sense, thanks! But, why Java doesn't offer operator overloading?
3rd Jul 2017, 9:19 AM
Corey
Corey - avatar
+ 6
Great answer! Thanks!
3rd Jul 2017, 9:47 AM
Corey
Corey - avatar
+ 6
gud 1👍
3rd Jul 2017, 11:26 AM
Rose
Rose - avatar
+ 1
Java does not support operator overloading
17th Feb 2018, 7:10 PM
IDONGESIT FRANCIS UKUT