Pregunta de entrevista de DXC Technology

Write a java program to find all the duplicate characters from your first name?