結果 : java program to find second largest and smallest elements in an array