hi
sorry for the funny question
class Test{
public static void main (String... args) {
System.out.println("ddddddddddddddddddd"+args[0]);
}
}
does this complie and run and how there is String....
y the compiler is not showing any error.
thank you
Printable View
hi
sorry for the funny question
class Test{
public static void main (String... args) {
System.out.println("ddddddddddddddddddd"+args[0]);
}
}
does this complie and run and how there is String....
y the compiler is not showing any error.
thank you
String...arg itself forms an array of String of unknown number of elements i.e. same as arg[]