The toString method of Integer class is used to convert a signed decimal to a string.
/** * @author lautturi.com * Java example:Integer.toString method example */ import java.util.*; public class Lautturi { public static void main(String[] args) { int i = 234; String str = Integer.toString(i); System.out.println(str); } }