Mindera interview question

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