X1024: Count Vowels

This method takes a list of strings called list. Implement it so that it returns the total number of vowels ('a', 'e', 'i', 'o', and 'u') in all strings in the list.

For example, given ["ear", "prune", "plot", "try"], it should return 5.

Your Answer:

Reset

Practice a different Java exercise

Feedback

Your feedback will appear here when you check your answer.