Finding the max/min value in an array of primitives using Java Finding the max/min value in an array of primitives using Java arrays arrays