結果 : java code to find smallest and largest element in an array