結果 : write a java program to find the sum of elements in a single dimensional array