Exceptions

When i run the program i am getting array index out of bounds exception at the step of "Integer.parseInt...." and at the step, where i tried to print the length of "args" i am getting that "args has zero elements" and i couldn't enter the values manually at runtime here is my program: