【Java编译问题】Cannot make a static reference to the non-static method getcountSon(String, String)
Cannotmakeastaticreferencetothenon-staticmethodgetcountSon(String,String)fromthetypeT1写了个数字符串中子串有多少个的函数,在引用的时候,函数名泛红:显示Cannotmakeastaticreferencetothenon-staticmethodgetcountSon(String,String)fromthet