// Hello class Hello { public static void main(String[] args) { int [1d] x; double [2d] local y; int [1d] local z; if (x == null) System.out.println("x==null"); if (y == null) System.out.println("y==null"); if (z == null) System.out.println("z==null"); if (x != null) System.out.println("x!=null"); if (y != null) System.out.println("y!=null"); if (z != null) System.out.println("z!=null"); x = new int [0 : 3]; y = new double [[0 : 3, 0 : 5]]; z = new int [0 : 5]; if (x == null) System.out.println("x==null"); if (y == null) System.out.println("y==null"); if (z == null) System.out.println("z==null"); if (x != null) System.out.println("x!=null"); if (y != null) System.out.println("y!=null"); if (z != null) System.out.println("z!=null"); x = null; x = (int [1d]) null; y = null; z = null; if (x == null) System.out.println("x==null"); if (y == null) System.out.println("y==null"); if (z == null) System.out.println("z==null"); if (x != null) System.out.println("x!=null"); if (y != null) System.out.println("y!=null"); if (z != null) System.out.println("z!=null"); System.out.println("done."); } }