結果 : write a program to reverse the elements of an array in java