Write a method countVowels that uses stream operations to count the number of vowels in a given

Question:

Write a method countVowels that uses stream operations to count the number of vowels in a given string. A vowel is an A, E, I, O, or U, caseinsensitive. For example, if the string is "SOO beautiful", there are seven vowels.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: