What is the first argument of the String array in main() method?

What is the first argument of the String array in main() method?

Hi,

What is the first argument of the String array in main() method?

Thanks,

View Answers

April 9, 2013 at 3:18 PM

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?









Related Tutorials/Questions & Answers:

Ads