+ 3
In java , inside the main function we use (Strings[] args) what is the use of this ???
3 Respuestas
+ 5
It is an array of strings used to access command line arguments.
+ 2
It is used to pass command line arguments which you can access as args[0],etc.
0
Thats just a argument inside main function. C# and other language got that too. Thats array of strings that access command arguments. You can let that empty if u want. I guess. Bacause i do in my IDE. Didnt got any error. May be IDE fix that for me. MAY BE.