Not every JAVA Class, but every JAVA program requires a Main method. The Main method can be seen as the startup method, that is executed when you start the program. The String args[] parameters contains the the parameters that you pass to the program on the JAVA commandline.
Example: java yourprogram parm1 parm2
passes parm1 and parm2 as String args[0] and args[1] to your Main method in program yourprogram.
Best regards,
Tom.