0

[DUPLICATE] can anyone plz explain the significance of public static void main and sting args[ ]

14th Sep 2016, 2:18 PM
suved
suved - avatar
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
14th Sep 2016, 2:29 PM
Zen
Zen - avatar
+ 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
17th Nov 2016, 6:00 AM
Pavankumar V
Pavankumar V - avatar