Command line arguments are passed to your Main method via an (option) array of strings - they are always strings, so if one of them needs to be a number, you have to convert that yourself, the system won't do that for you.
See here:
Java - parseInt() Method[
^]