// Collection of code snippets by Arne Vajhøj 
// (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
public class TwoDim {
    public static void main(String[] args) {
        float[][] a = new float[3][3];
        float[][] b = new float[3][];
        b[0] = new float[2];
        b[1] = new float[3];
        b[2] = new float[4];
        System.out.println(a.getClass().getName());
        System.out.println(b.getClass().getName());
        System.out.println(a instanceof float[][]);
        System.out.println(b instanceof float[][]);
    }
}
