Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

overloading + operator in java

Java doesn't support user-defined operator overloading. The only aspect
of Java which comes close to "custom" operator overloading is the handling of
+ for strings
 
PREVIOUS NEXT
Tagged: #overloading #operator #java
ADD COMMENT
Topic
Name
6+4 =