/* package whatever; // don't place package name! */ import java.util.*;import java.lang.*;import java.io.*; /* Name of the class has to be "Main" only if the class is public. */class Ideone{ public static void main (String[] args) throws java.lang.Exception { System.out.println(Integer.parseInt("yellow",35)); System.out.println(Integer.parseInt("howareyou",35)); }}
Standard input is empty
1807679472
Exception in thread "main" java.lang.NumberFormatException: For input string: "howareyou" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:495) at Ideone.main(Main.java:13)
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!