Class GetMaximumFromList

java.lang.Object
topics.introduction.GetMaximumFromList

public class GetMaximumFromList extends Object
To get the maximum of a list of numbers
Author:
vicegd
  • Constructor Details

    • GetMaximumFromList

      public GetMaximumFromList()
  • Method Details

    • max

      public int max(int[] list)
      To get the maximum value of the numbers contained in an array
      Parameters:
      list - Array with numbers
      Returns:
      The maximum of all the numbers