I have the following example code:
int pay = 80;
int bonus = 65;
System.out.println(pay + bonus + \" \" + bonus + pay);
could someone please ex
As the others are saying the compiler is first adding the integer values and then printing the result, after " " the total value is changed to  String type and after that + operator is functioning as a concat action. To not get that output, you can do this:
System.out.println(String.valueOf(pay) + String.valueOf(bonus) + " " + String.valueOf(bonus) + String.valueOf(pay));