Home » Java program to find the percentage of uppercase, lowercase, digits and special characters in a String

Java program to find the percentage of uppercase, lowercase, digits and special characters in a String

by Online Tutorials Library

Java program to find the percentage of uppercase, lowercase, digits and special characters in a string

File: CharacterPercentage .java

Output:

In 'India is my country 100%' :  Uppercase letters are 4%  Lowercase letters are 62% Digits Are 12% Other Characters Are 20% 
Next TopicJava String FAQs

You may also like