I have the following example code:
int pay = 80; int bonus = 65; System.out.println(pay + bonus + \" \" + bonus + pay);
could someone please ex
Because, this is operator overloading issue. Here, First + is plus operator and last + is concat operator.
operator overloading
+
plus
concat
System.out.println(pay + bonus + " " + bonus + pay); | | (plus) (concat)