+ 10
1. public- Here public is an "access specifier" which allows thhe main method to be accessble everywhere.Any one can access it FREELY. 2. static- static helps main method to get loaded without getting allied by any instance/object. 3. void- void clarifies that the main method will not return any value. 4. main- It's the name of the method. 5. String[] args- Here we are defining a String array for passing arguments at command line. args is the variable name of the String array. It can be changed to anything such as String[] yoo or String[] umm
14th Oct 2017, 6:38 PM
sayan chandra
sayan chandra - avatar