I have the input as 07/12 on my command line how can I use this two argument as args[0] and args[1] to convert into month and day
int month = Integer.parseInt(args[0]);
int day = Integer.parseInt(args[1]);
The error I am having is "Exception in thread "main" java.lang.NumberFormatException: For input string: "07/12"