Concentrix interview question

Java program to find duplicate letter from given string