結果 : write a java program to accept the array element and display in reverse order