結果 : java program to take input and print elements of array