- 博客(27)
- 收藏
- 关注
原创 Count类
题目:Count类中有方法int countNum(String str)该方法的功能是统计已知字符串str中数字的个数,例如countNum("A42B83C2D")的返回值为5。Count类:package Count;public class Count { public int countNum(String str) { int count = 0; char[] str1 = str.toCharArray(); for (int i = 0; i <
2022-05-24 09:34:00
618
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人