Java之——子串个数

思路:

public class Prog49{
 public static void main(String[] args){
  String str = "I come from County DingYuan Province AnHui.";
  char[] ch = str.toCharArray();
  int count = 0;
   for(int i=0;i

 

你可能感兴趣的:(Java)