He was trying to get some Iterable<> syntax right for Vargs. A simple google search would have given me the exact "Iterable" syntax solution. Not sure what they were trying to test.
Sigiloso
You need to recognize Vargs syntax (I did) and then use Iterable.hasNext() syntax.(I used for instead). You need to say by using Vargs you can minimize Method overloading since you have to declare only one method with Vargs parameter and not declare a new method for every increase in arguments. Very very immature question in my opinion. It was testing nothing. No logic nothing. I can always google the syntax.