In java, the syntax of the main method is with array of strings as parameter
though you may not use it always. It helps in passing information to an
application at runtime. It let users affect the operation of the application
without recompiling it. In your case, main method is like any other method since
it does not comply with the java syntax.