What it mean?
A java programe always start with the statment
"public void main (String[]argument)"
i know it mean the programe start from here, but i don't know what the words mean.
would you please tell me what do"public", "void", and "(String[]argument)"means ? I'll very appreciate
public = access by anyone
void = does not have return value
main = beginning of program i.e. start here
(String[] argument) = Array to hold command line items that may be typed when starting program.
Example: If you program opens a file for reading you may need to supply the name of the file, size of file, type of file).
String[] Arguement holds these values. They can then be accessed like any other array.
Good luck.