+ 1

[DUPLICATE] What is the args in (String[] args) for in java

14th Jun 2017, 3:29 PM
akachukwu
akachukwu - avatar
4 Answers
+ 2
args is the name for the String array. When you create variable you give them names. Ex/ int x; x is the name (also called identifier) for this int.
14th Jun 2017, 3:33 PM
Rrestoring faith
Rrestoring faith - avatar
14th Jun 2017, 6:01 PM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 1
it's called command line argument. which is useful to provide inputs to the Java program when you run the program from command prompt like below. javac test.java java test argument
14th Jun 2017, 6:02 PM
manoj kumar
manoj kumar - avatar
0
Tnx
14th Jun 2017, 3:34 PM
akachukwu
akachukwu - avatar