String s = "1"; int i= new Integer(s).intValue(); /* newbie */ int i = Integer.parseInt( s ); /* correct */ //... int i = 1; String s = new Integer( i ).toString(); /* newbie */ String s = i + ""; /* lazy */ String s = Integer.toString( i ); /* correct */