Check out example codes for "transformez integer en string". It will help you in understanding the concepts better.

Code Example 1

 
public class ConvertirIntEnString {
  public static void main(String[] args) {
 
    int unInt = 1;
 
    String aString = Integer.toString(unInt);
 
  }
}

Learn ReactJs, React Native from akashmittal.com