Since out variable of System class present in package java.lang; is initialized to null, still why it does not throw null pointer exception.
public final static PrintStream out = null;
Since out variable of System class present in package java.lang; is initialized to null, still why it does not throw null pointer exception.
public final static PrintStream out = null;