code: public static Class[] getClasses(Object[] objs) {
  	Class[] cls = new Class[objs.length];
  	for (int i = 0; i < objs.length; i++) {
  	    if (objs[i] == null) cls[i] = Object.class;
  	    else cls[i] = objs[i].getClass();
  	}
  	return cls;
      }
docs: get all Classes from a Object Array
  
  @param objs Objects to get
  @return classes from Objects