+ 1

[DUPLICATE] What does string []args means?

in the argument of the main method

3rd Aug 2016, 6:12 AM
Harshdeep Parmar
Harshdeep Parmar - avatar
1 Answer
+ 1
you can predefine command line arguments in the program that these arguments will pass to main method as the program executes. these arguments that are passed to main are stored in an array of string and you can access them using this array. However if you are not passing any command line arguments you can simply skip this part. :)
4th Aug 2016, 6:50 AM
Javeria Khan