Wipro Interview Question

count frequency of characters in string , java oops