You are always passing the number 28, so it will always think it is even. You can pass
java MyEvenOrOdd 123
before you run the program. In that wase you would expect "123" to be
args[0], and you will suffer en Exception if you try to pass 1.234 or if you miss out the number. You can read more about the command line in the
Java Tutorials (I/O section).