Question d’entretien chez DXC Technology

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