Domanda di colloquio di Mindera

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