0
[DUPLICATE] can anyone plz explain the significance of public static void main and sting args[ ]
2 Answers
+ 10
public: means that the class member can be used outside of the class.
static: means that the class member doesn't need an object of the class to be called
void: means that the function doesn't return anything
String args[]: arguments of the program
+ 1
Public :the class members can be accessed out of the class also,
Static: if we use as static thr is no use of creating a object for it.
Void : as u u knw it won't return any value.
String [] args :arguments



