Frage im Vorstellungsgespräch bei Publicis Sapient

Java program to number of character occures in string?