Cognizant interview question

write a code to find the most repeted character in your name using java