I hope this question is not dumb...
If I do not provide any arguments on the command line then will the
string array of main be empty or null?
I tried the following code to find out.... but it shows an "ArrayOutOfBoundsException" error...Why is that ?
public class trial
{
public static void main(String args[])
{
System.out.println(args[0]);
}
}