求出字符串中有多少种字符,以及每个字符的个数static void printCharInfo(String str)例如有字符串 str="apple is a apple.";结果应该是a:3p:4l:2e:2:3i:1s:1.:1
http://blog.csdn.net/lily1143/article/details/49621115
定义一个数组,里面包含所有字母,然后遍历判断