SE450
:
Command-Line Arguments
[46/53]
void main(String[] args)
args
parameter of
main
is initialized with command-line arguments
Example:
java GreeterTest Mars
args.length
is 1
args[0]
is
"Mars"