Statistics Utility

Write a Statistics class that has the following static methods:

The following Arrays can be used to test your class:

arr = {1, 0, 3, 8, 4, 2, 1, 9, 20, 100}
sampleSize(arr) --> 10
maximum(arr) --> 100
minimum(arr) --> 0
mean(arr) --> 14.8
median(arr) --> 3.5
mode(arr) --> 1

arr = {2, 3, 2, 3, 2, 17, -5}
sampleSize --> 7
maximum --> 17
minimum --> -5
mean --> 3.4285714285714284
median --> 2.0
mode --> 2.0

arr = {1, 2, 3, 4, 5}
mode --> null