How can I find the number of occurrences of a character in a string?
For example: The quick brown fox jumped over the lazy dog.
Some example
public class list { public static String name(Character k){ String s="the quick brown fox jumped over the lazy dog."; int count=0; String l1=""; String l=""; List list=new ArrayList(); for(int i1=0;i1