code: public void uninstallFeaturesByProductId(String productId, boolean exceptPlatformFeatures) throws InstallException {
          String[] productIds = new String[1];
          productIds[0] = productId;
          uninstallFeaturesByProductId(productIds, exceptPlatformFeatures);
      }
docs: Calls below method to uninstall features by product id
  
  @param productId product id to uninstall
  @param exceptPlatformFeatures If platform features should be ignored
  @throws InstallException