package com.test6; public class test5 { public static void main(String[] args) { int[] arr = {1, 2, 31, 4, 5, 6, 7, 88, 9, 11, -1}; float[] arr2 = {1, 2, 31, 4, 5, 6, 7, 88.88f, 9, 11.1f, -1f}; ArrayHelper ah = new ArrayHelper(); ah.GetMinAndMax(arr)