Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners What is the first argument of the String array in main() method?

Have Programming Question? Ask it here!
 
 
 


Java Coder
What is the first argument of the String array in main() method?
1 Answer(s)      a year and 4 months ago
Posted in : Java Beginners


Hi,

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

Thanks,


Advertisement
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:
Advertisements
 

 

 

DMCA.com