What is the use of giving a string array as a parameter with the main function in java. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the use of giving a string array as a parameter with the main function in java.

While making a java program we give a string array as a parameter with the main function - main(String[] args). So what is the purpose for giving this.

18th Apr 2019, 10:42 AM
Oreki Hotaro
Oreki Hotaro - avatar
0 Answers