Hi,
Why does Java not support operator overloading?
thanks,
Hi friend,
When Java had been created it took and left most of the features of C++. Java was created to provide a simplicity in programming. Operator overloading is one of the programming concept in C++ that the Java has left. Coding for operator overloading is very difficult for programmer and due to making the Java simple this concept had been removed. An exceptional case of custom operator overloading in Java is use of '+' operator for String concatenation of constants at compile time or execution time using StringBuilder/StringBuffer.