package lovo.bean;
import java.util.Scanner;
public class Java {
@param args
public static void main(String[] args) {
// 1、查找“asdfjvjadsffvaadfkfasaffdsasdffadsafafsafdadsfaafd”
该字符串中有多少个af
TODO Auto-generated method stub
String bs = "asdfjvjadsffvaadfkfasaffdsasdffadsafafsafdadsfaafd";
int count = 0;
char[] charArray = bs.toCharArray();
for (int i = 0; i