package home;
import java.util.HashMap;
import java.util.Map;
public class WordCount {
public static void main(String[] args) {
String str ="hello everyone,I'm a freshman.hello freshman,welcome to our class.everyone is perfect.";
str=str
java 计算一段字符串中每个单词的数量
最新推荐文章于 2022-10-06 16:41:59 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)