public: The public method can be accessed outside the class or package.
static: To access the static method, there is no need to create object and you need not have an instance of the class to access the method.
void: There is no need by application to return value. JVM launcher do this with it exists.
main(): It is the entry point for the java application.
String args[] : args is an array of string which holds the optional arguments to the class.
No comments:
Post a Comment