What are overloaded operators? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What are overloaded operators?

7th Aug 2019, 8:40 PM
Samuel
Samuel - avatar
2 Answers
+ 4
Operators that are used for multiple different classes of objects.
8th Aug 2019, 2:49 AM
Sonic
Sonic - avatar
+ 2
in the same way that a method can be overloaded, you can having several methods have the same name but do different things, they could also be done with operators but this is not possible in java. it is possible in C++
7th Aug 2019, 9:43 PM
Eze