Java Tutorials: Determine Vowel or Consonant

Опубликовано: 17 Июль 2026
на канале: Ebenezer Edet
182
1

In this tutorial, an application is developed where the user enters a character and then this character is checked to know if it is a vowel or a consonant.
The ASCII range for upper case and lower case alphabets are used to ensure that the user only enters an alphabet.
Lastly, the .equals() method in the String class is used to determine if the entered input is a vowel and any other is a consonant.

Below are related video links:
Java Tutorials: Conditional Operators (AND, OR, NOT):
   • Java Tutorials : Conditional Operators (AN...  

Tutorial codes can be gotten from this github repository: https://github.com/generalkolo/Javacodes