I am new to Java. if this question is simple one then don't scoled me.
operator oveloading is there or not in java?
if it is not there then why the following code is behaving differently?
System.out.println(1+2); (adding)
System.out.println("Hai"+1+2); (concatinating)
System.out.println(1+2+"Hai"+1+2); (first adding & then concatinating)
if operator overloading is there then please explain.