title: Integer.decode(String s)
body: <pre><code>class Test{
  
      public static void main(String Args[]){
  
          Integer x;
          x = Integer.decode("0b111");
          System.out.println(x);
      }
  }
  </code></pre>
  
  <p>This doesn't work with the prefix 0 for binary and for octal with the prefix 0.
  What is the correct way to do it?</p>