Java: Find the sum of all elements in an array

Published --