Java - Print after removing duplicates from a given string

Java - Print after removing duplicates from a given string

More to explore

Based on this image's title: “Java - Print after removing duplicates from a given string