Converting a primitive
int, or its respective wrapper class
Integer, to a
String is a common and simple operation. The same goes for the other way around, converting a String to Integer.
Converting Integer to String
When converting an int or Integer to a String, there are four approaches.