public class IntToString {
    public static void main(String[] args) {
        int number = 123;
        String str = Integer.toString(number); // int to String
        System.out.println("Converted string: " + str);
    }
}