Class GetMaximumFromList
java.lang.Object
topics.introduction.GetMaximumFromList
To get the maximum of a list of numbers
- Author:
- vicegd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintmax(int[] list) To get the maximum value of the numbers contained in an array
-
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
-