Count Alphabets, Digits, Special Characters in String using Java
In this tutorial, we are going to learn java program to count the number of alphabets, digits, and special characters present in an input string from the user. For any input string, we are going to print the number of alphabets (‘a’-‘z’ and ‘A’-‘Z’), the number of digits(0-9), and the number of special characters present. … Read more