Exception in thread “main” java.lang.NumberFormatException: For input string: “S” by IT Nursery Exception in thread “main” java.lang.NumberFormatException: For input string: “S”