Why only +String concatation for Operator Overloading ?
807588Apr 27 2009 — edited Apr 27 2009Java does not support operator overloading other than the + operator for addition of two Strings or a number and a String.Why only the + operator and Strings, even when we have a concat() for addition of Strings ?
Wondering if anyone could provide me some link as to why this only this (+) operator was chosen.
Thank you for your consideration.
Edited by: amtidumpti on Apr 27, 2009 6:40 AM
Edited by: amtidumpti on Apr 27, 2009 6:40 AM