DXC Technology interview question

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