Here's how my program works. 

I start by creating my program: 

-bash-4.1$ pico -w Two.java

I compile it:

-bash-4.1$ javac Two.java

I run it with arguments on the command line: 

-bash-4.1$ java Two Dave 6
Dave you will be 7 next year.

I pass the name first then the number: 

-bash-4.1$ java Two Laura 8
Laura you will be 9 next year.

Notice that if the arguments are missing all bets are off. 

-bash-4.1$ java Two
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0
        at Two.main(Two.java:3)

What if the arguments are reversed? 

Still the same: we are not responsible (at this stage) for error correction. 

-bash-4.1$ java Two 8 Laura
Exception in thread "main" java.lang.NumberFormatException: For input string: "Laura"
        at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        at java.lang.Integer.parseInt(Integer.java:492)
        at java.lang.Integer.parseInt(Integer.java:527)
        at Two.main(Two.java:4)

So what we got is different from the previous error. 

This one was due to parsing, that failed, for input string "Laura".

-bash-4.1$