結果 : write a java program to read and display the array elements in order