結果 : how to reverse an array in java without using reverse function