Java tutorial
public class MainClass { public static void main(String[] arg) { String s = null; System.out.println(s.length()); } }