結果 : write a program to find the largest and smallest element in an array in java