code: public static Class<?>[] readClasses(ObjectInput in)
              throws java.io.IOException, ClassNotFoundException {
          int i, len;
          Class<?>[] result;
  
          len = in.readByte();
          result = new Class[len];
          for (i = 0; i < len; i++) {
              result[i] = read(in);
          }
          return result;
      }
docs: Reads an array of Class objects.
  @param  in  source to read from
  @return the Classes read