Contact: aviboots(AT)netvision.net.il
43,930 questions
57,334 answers
573 users
public class MyClass { public static void main(String args[]) { String s = "9832"; int n = Integer.parseInt(s); System.out.println(n); } } /* run: 9832 */
public class MyClass { public static void main(String args[]) { String s = "9832"; int n = Integer.valueOf(s); System.out.println(n); } } /* run: 9832 */