+ 1
[DUPLICATE] What is the purpose of "args"?
args
2 Answers
+ 13
If talking about the main method, args contains the supplied command-line arguments as an array of String objects.
args doesn't necessarily have to be named args (you can name it whatever you want) - though it's best to follow convention. ^^
+ 3
thank you for the quick response.....just started learning Java