Write a method named isVowel that returns whether a String is a vowel (a single-letter string containing a, e, i, o, or u, case-insensitively).public static boolean isVowel(String word){ for(int i=0;i

Respuesta :

Answer:

public static boolean isVowel(String word){

  for(int i=0;i

   char vowels= word.toLowerCase(word.charAt(i));

       if (vowels== "a" || vowels == "e" || vowels== "i" || vowels == "o" ||  vowels == "u" ){

          return true;

       } else {

           return false;

       }

  }

}

Explanation:

The Java source code analyzes each character in a string object and returns true if it is a vowel letter.