Array a = getElements();
Array[] a = getElements();
    public Array get(int i) throws Exception {        Array e = null;        Array a = getElements();        if (a != null) {            e = a[i];        } else {            throw new Exception("Could not get element. The elements is null.");        }        return e;    }