0
[DUPLICATE] What is the mean of public static void main(string[],args), pls explain
2 Answers
+ 2
This is the starting point of the method called by the JVM. public allows the JVM to access it, static means it doesn't change, void means it doesn't return anything, and String[] args is an array of arguments passed to the program
0
public : it is a access specifier that means it will be accessed by publically.static : it is access modifier that means when the java program is load then it will create the space in memory automatically. void : it is a return type i.e it does not return any value. main() : it is a method or a function name.



