Domanda di colloquio di Chubb

Write a java method that finds the sum of numbers in an array.