Pregunta de entrevista de Mindera

How would you implement a method to sum all odd numbers in an array?