+ 1
string [] <--what is the meaning of "[ ]"
And why does 'string[] args' have to be there if its the only thing valid đ
2 Answers
+ 1
args is basically an array of type String. It's used to contain command-line arguments. The square brackets indicate that it's an array. If you're a beginner programmer, I would suggest not worrying about it until you learn more about arrays.
0
Thx