Chubb interview question

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