I have a String array with values in it. Their are duplicates in it. I want to duplicates from the array but don't know how to do it. I understand that I can do this using for loop - but then I have to use nested for loops and I think its not a good way of doing it.
If someone knows a better way, please advice.
Thanks in advance.