Integer to string in JAVA programming

public class InttoString {

    public static void main(String[] args) {
        int num=3211;
        String str=Integer.toString(num);
        System.out.println(str);
        System.out.println(str+12345);
    }

}

Share this

Related Posts

Previous
Next Post »