Hi,
What is the first argument of the String array in main() method?
Thanks,
Hi,
The String array is empty. It does not have any element. This is unlike C/C++ where the first element by default is the program name.
You also learn how to declare a string array and the syntax for using in the program. This article gives your a very easy java program which illustrates about the string array in very efficient manner.
For details on What is the first argument of the String array in main() method?