+ 4
[DUPLICATE] I'm just a beginner to java. Why there strings[] args is used??
4 Answers
+ 19
its " String args [] "
//java is case-sensitive & here is your answer âș
https://www.sololearn.com/Discuss/464184/?ref=app
+ 7
When we run a java program to command prompt, we can pass some input to our Java program. Those inputs are stored in this String args array.
Command line arguments are Strings which is why that is the data type.Â
+ 6
You should open the Java tutorial and read it. It is in the note section of this lesson.
https://www.sololearn.com/learn/Java/2137/
+ 3
That array contains the arguments, passed to the program.