interface Set Tutorial
The Set interface exactly fits into collections interfaces hierarchy and thereby it is a part of collections framework. The very very important characteristic of Set is it does not allow duplicate elements. It allows null elements. But it permits only one null element as set does not allow duplicates. The Set interfaces comes with two …