public static void main (String [] args) { // String type of digital String A = "100" ; // Integer number Integer NUM = 99 ; // the Integer.parseInt () String type is to be converted to an int int the parseInt = the Integer.parseInt (A); // Integer.valueOf () is converted to the type Integer String type Integer valueOf = Integer.valueOf (A); // toString () can be converted to a reference type String string type, you must be a reference type, int type not String String = num.toString (); }