Operator overloading is not supported by Java as,
<> It makes the interpreter put more effort to understand the actual functionality of the operator making code complex and difficult to compile.
<> Operator overloading makes programs more error-prone.
<> However, the feature of operator overloading can be achieved in method overloading in a simple, clear, and error-free way.
Posted Date:- 2021-09-30 00:09:50