print distinct elements from the array import java.util.LinkedHashSet ...

print distinct elements from the array import java.util.LinkedHashSet ...

More to explore