logo CodeStepByStep logo

isAllVowels

Language/Type: Java string
Related Links:

Write a method named isAllVowels that returns whether a string consists entirely of vowels (a, e, i, o, or u, case-insensitively). For example, isAllVowels("eiEIo") should return true while isAllVowels("banana") should return false.

For this problem, you may assume that a working solution already exists to the previous problem, isVowel, and you may call it in your solution.

Method: Write a Java method as described, not a complete program or class.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.