Java + operator and Operator overloading
Java + operator and Operator overloading
In this article, we will discuss: – What is Operator overloading ?
– Does Java support operator overloading ?
– Using + as addition operator
– Tricky scenarios of using + as addition operator
– Using + as String concatenation operator
– Tricky scenarios of using + as concatenation operator
Java + operator and Operator overloading
An operator is overloaded, if it can be used to perform more…
View On WordPress













