Java Program to Find the First Capital Letter/Small Letter/Vowel/Consonant/Number/Whitespace/Special Character in a Given String
This is the Java Program to Find the First Capital Letter/Small Letter/Vowel/Consonant/Number/White Space/Special Character in a Given String. Problem Description Given a string, find the first position of the capital letter, small letter, vowel, consonant, whitespace, and special character if present in the string. Example: String x = “Ac @” Output = Capital letter = … Read more