Hi!
When the following code is executed:
public class Test{
static
String s1;
public static void main (String args [])
{
System.out.println(s1);
}
}
null gets printed instead of throwing a NullPointerException.
Can someone please explain why?
Thanks
Porchelvi