How to concatenate integers in Java?

To concatenate integers in Java, do this: "" + integer1 + integer2.

Here's how you do it:

int a = 23;
int b = 11;

String concatenated = "" + a + b;

// 2311
System.out.println(concatenated);