+ 4

[DUPLICATE] I'm just a beginner to java. Why there strings[] args is used??

24th Feb 2018, 12:53 PM
Diliban B
Diliban B - avatar
4 Answers
+ 19
its " String args [] " //java is case-sensitive & here is your answer â˜ș https://www.sololearn.com/Discuss/464184/?ref=app
24th Feb 2018, 3:46 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 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. 
25th Feb 2018, 4:23 AM
Vidya
Vidya - avatar
+ 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/
24th Feb 2018, 12:57 PM
Akash Pal
Akash Pal - avatar
+ 3
That array contains the arguments, passed to the program.
24th Feb 2018, 12:56 PM
deFault