+ 1

Is java support operator overloading? //Interview question

No, java doesn't support operator overloading. BUT only overloading of '+' supports.

8th Aug 2016, 6:00 PM
SUCHIT YADAV
SUCHIT YADAV - avatar
4 Antworten
+ 1
only + operator can be overload in java
8th Aug 2016, 6:33 PM
SUCHIT YADAV
SUCHIT YADAV - avatar
0
java is not support for operator overloading . java supported for function overloading
10th Aug 2016, 11:41 AM
srilekha
0
There is no operator for overloading. Java support polymorphism(overloading and overriding) methods/function.
10th Aug 2016, 4:59 PM
Muhammad Fahad
Muhammad Fahad - avatar
0
no Java dosen't have this functionality!
14th Feb 2017, 6:33 PM
Astha Bhasin
Astha Bhasin - avatar