結果 : java program to print largest and smallest number in an array