Does java support operator overloading ? | Sololearn: Learn to code for FREE!
0

Does java support operator overloading ?

has java any overloaded operator ?

28th Mar 2017, 12:36 PM
Akansh Jha
Akansh Jha - avatar
1 Answer
+ 10
nope java does not support operator overloading the only thing that comes close to it is the + operator with strings "Hi" + "!" results in "Hi1"
28th Mar 2017, 1:16 PM
Kamil
Kamil - avatar