Enter the first integer: 9
Enter the second integer: 2
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: -1
at Calculator.main(Calculator.java:27)


It points to this line: ...