結果 : write a java program to find the maximum and minimum value of an array