What is the purpose of the argument String []args in main method?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the purpose of the argument String []args in main method??

Explain

8th Jun 2019, 12:35 PM
Heisenberg
Heisenberg - avatar
2 Answers
+ 1
~ swim ~What is the purpose of that array of strings?
8th Jun 2019, 2:08 PM
Heisenberg
Heisenberg - avatar
+ 1
@~swim~ so its like instead of taking input from the user we r taking each arguments as inputs? I am Right?
8th Jun 2019, 3:35 PM
Heisenberg
Heisenberg - avatar