Question: Write a method named 1sAL!Vowels that returns whether a string consists entirely of vowels (a, e, i, o, or u, case-insensitively)lf every character of the

Write a method named 1sAL!Vowels that returns whether a string consists entirely of vowels (a, e, i, o, or u, case-insensitively)lf every character of the String is a vowel, your method should return true. If any character of the String is a non-vowel, your method should return false. Your method should return true if passed the empty string, since it does not contain any non-vowel characters. For example, here are some calls to your method and their expected results: Call Value Returned isAllVowels ("eIEi"true isAllVowels ("oink")false
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
