java:算法 - 统计字符

题目:输入一行字符,分别统计出其中英文字母、空格、数字和其它字符的个数。 程序分析:使用String.matches(regex)来判断字符串中每一个字符的种类java /* *given a input of String, count statistics. *the return array of 2 dimension gives such statistics as * the tota
相关文章
相关标签/搜索