Write a recursive method that counts the number of vowels in a string. It must return…

Write a recursive method that counts the number of vowels in a
string. It must return the number of vowels. Use appropriate
parameters as needed. Hint: There’s an ArrayList method called
contains that might make checking whether a character is a vowel
easier.