結果 : java program to find largest and smallest element of an array