So, when you got for example:

int i = 5;

And you want to convert it to a String, just add ” ” to it:

int i = 5;
String stringI = i + " ";

When you print this, it will give you the output 5.