How to convert Integer object into String object in Java

1 Answer

0 votes
package javaapplication1;

public class JavaApplication1 {

    public static void main(String[] args) {

        Integer i = 10000;

        String s = i.toString();
        System.out.println(s);
    }
}
   
/*
      
run:
      
10000
  
*/

 



answered Nov 6, 2016 by avibootz

Related questions

...