查找字符串中大写、小写、数字和特殊字符百分比的 Java 程序

7 Jan 2025 | 1 分钟阅读

文件:CharacterPercentage .java

输出

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