Import java.util.collection; import java.util.iterator; /** * counts the number of positive values in a collection. * * @author dean hendrix ([email protected]) * @version 2017-09-28 */ public class count positives { /** * returns the number of positive values in the given collection. */ public static int count positives(collection collection) { return -1; } }

Solved
Show answers

Ask an AI advisor a question