subject

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

Answers

ansver
Answer from: cooboy

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.

ansver
Answer from: Quest

answer: b

explanation:

ansver
Answer from: Quest

answer; (& & );

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:30, lauriepdx
The cm is responsible for overseeing the actions of the crisis management team and coordinating all crisis management efforts in cooperation with disaster recovery and/or business continuity planning, on an as-needed basis
Answers: 1
image
Computers and Technology, 22.06.2019 11:30, lindalu
Hassan is writing his master’s thesis, which is a thirty-page document. he received some feedback from his professor in the form of comments, but does not see where the comments are. what is the fastest way for hassan to find the feedback?
Answers: 3
image
Computers and Technology, 22.06.2019 17:30, cesargarcia17671
Type the correct answer in the box. spell all words correctly. under which key category do the page up and page down keys fall? page up and page down keys fall under the keys category.
Answers: 3
image
Computers and Technology, 23.06.2019 04:31, tbt81
Type the correct answer in the box. spell all words correctly. the managing director of a company sends a christmas greeting to all his employees through the company email. which type of network does he use? he uses an
Answers: 1
You know the right answer?
Write a method named isVowel that returns whether a String is a vowel (a single-letter string contai...

Questions in other subjects:

Konu
Mathematics, 16.09.2020 19:01
Konu
Geography, 16.09.2020 19:01
Konu
Mathematics, 16.09.2020 19:01
Konu
Mathematics, 16.09.2020 19:01
Konu
Mathematics, 16.09.2020 19:01
Konu
Mathematics, 16.09.2020 19:01
Konu
Mathematics, 16.09.2020 19:01
Konu
Mathematics, 16.09.2020 19:01
Konu
Mathematics, 16.09.2020 19:01
Konu
Social Studies, 16.09.2020 19:01