What's the use of (string [ ] args) { | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What's the use of (string [ ] args) {

4th Jun 2019, 3:48 AM
Shreejit Dutta
1 Answer
+ 2
args[0] is for first parameter (not for path): System.out.println(java.util.Arrays.toString( args )); java Example 1 2 3 [1, 2, 3]
4th Jun 2019, 6:02 AM
zemiak