throw null

14

This compiles (and throws NPE):

public class Weird {
public static void main(String[] args) {
throw null;
}
}

Anyone know why?

Comments are closed.