Java Program to Count Vowels and Consonants in the String

In this tutorial, we are going to learn java programming to count the number of vowels (‘a’, ‘e’, ‘i’, ‘o’, ‘u’) and consonants (any alphabet other than vowels) in a string. For any input string, we have to count the number of vowels that appear and the number of consonants that appear. And returns the … Read more

Java Program to check character is Vowel or Consonant

Check Character Is Vowel Or Consonant in java

In this tutorial, we are going to learn writing java program to check if the character is a vowel ( a, e, i, o, u) or any other alphabet other than vowels i.e. consonants. For any input character, we have to check whether a character is a vowel or consonant. For example Check Given Character … Read more