Does Java Support Operator Overloading?
Does Java Support Operator Overloading?
Operator overloading can be defined as a ability to achieve different behaviour from an operator, other then expected behaviour , based on the arguments. It comes under static polymorphism. C++ allows operator overloading which enables a user to redefine the operator behaviour. To overload an operator, operator keyword is used. Similar to function, it can have arguments and return type. It can…
View On WordPress



















