結果 : largest and smallest element in array java