Pregunta de entrevista de CGI

Write a method calculating the sum of an array using recursion.