public String toString(){
  StringBuffer sbuf=new StringBuffer(componentType.toString());
  for (int i=0; i < dim; i++)   sbuf.append("[]");
  return sbuf.toString();
}

public String toString ( ) { StringBuffer sbuf = new StringBuffer ( componentType . toString ( ) ) ; for ( int i = 0 ; i < dim ; i ++ ) sbuf . append ( "[]" ) ; return sbuf . toString ( ) ; }
returns the string representation .
