摘要: 今日总结 包含的次数//创建方法count,返回int计算s2在字符串s1中出现的次数;public static int count(String s1,String s2){//定义一个int变量,用来计算s2在s1中出现的次数;int h = 0;//遍历s1for(int i = 0;i<s 阅读全文
posted @ 2020-10-19 19:59 禁小呆 阅读(67) 评论(0) 推荐(0)