![]() The method declaration must look like the following: public static void main(String args)īy default, the first non-option argument is the name of the class to be invoked. ![]() The method must be declared public and static, it must not return any value, and it must accept a String array as a parameter. It does this by starting a Java runtime environment, loading a specified class, and invoking that class's main method. The java tool launches a Java application. argument Argument passed to the main function. ![]() file.jar Name of the jar file to be invoked.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |