Monday, 25 April 2016
Remove duplicate element from a List
Scenario : How will you remove duplicate element from a List ?
Add the
List
elements to
Set
-
Using iterator / loop or using addAll() method
Duplicates will be removed.
No comments:
Post a Comment
Note: only a member of this blog may post a comment.
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Note: only a member of this blog may post a comment.