shantanu kaushik wrote:I have learned that we can declare the main method as "public static void main(String... args)"
I am not able to understand this way of making object of String class...
please discuss..
What to you want to discuss on?
Varargs in java or String class?
varargs can take any number of parameters. So, you can input the String array as command line arguements.