Is this a Java Bug in integer.parseInt();
<p>Can you tell why this is happening and is there any alternative for this issue. </p>

<pre><code>public class Testing {

    /**
     * @param args
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        try{
        Integer s=Integer.parseInt("0262");
        Integer k=Integer.parseInt("2560");
        System.out.println("The value of s of 0262 is " + s);
        System.out.println("The value of k of 2560 is " + k);

        }
        catch(Exception e)
        {
            e.printStackTrace();
        }
    }

} 
</code></pre>

<p>Output: </p>

<pre><code>The value of s of 0262 is 262 
The value of k of 2560 is 2560
</code></pre>

<p>Thanks in advance</p>
