size = a.length;
s = a.length;
    public int getSize() throws Exception {        int size = 0;        Array[] a = getElements();        if (a != null) {            size = a.length;        } else {            throw new Exception("Could not get size. The elements is null.");        }        return size;    }