There is a question in mock exam like
public class
test {
private static int[]x;
public static void main(
String a[])
{
System.out.println(x[0]);
}
}
I didn't understand why the answer of this is NullPointerException.
Plz explain......
Thanks
UmaVinodh.