Java Program to Check Vowel or Not

Check Vowel or Not

To check whether the input alphabet is
a vowel or not in Java Programming, you have to ask to the user to enter a character (alphabet) and check if the entered character is equal to a, A, e, E, i, I, o, O, u, U. If it is
equal to any one of the 10, then it will be vowel otherwise it will not be a vowel.

Java Programming Code to Check Vowel or Not

Following Java Program ask to the user to enter an alphabet to check whether it is a vowel or not, then display the result on the screen: