Capgemini interview question

1. Java Program- To find the occurrence of characters using Map