I think you can not because Set is an UNORDERED collection of unique elements. So, you cant expect the output in a particular order not even in the order you added the elements.
Saibabaa Pragada wrote:Hi, How can I get a first or second element from Set..With Iterator, I can get all elements. But I want to see the specific elements..