Saturday, 19 March 2016

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


The String array is empty (No element), if no argument is passed along with class name.

This is unlike C/C++ , where the first element by default is the program name.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.