Notice


AWT and SWING will be covered soon !

Tuesday, September 22, 2009

Convert String to Integer

 

public class str{
    public static void main(String args[])
    {
        String a="1";
        int x=Integer.parseInt(a);

    }
}

No comments:

Post a Comment