I find NullPointerException to be interesting since there are no explicit pointers in Java. Here is a program that throws such an exception.
class c {
public static void main(String[]s) {
throw new NullPointerException();
}
}
What is the shortest Java program that throws NullPointerException?