This may not be the real world scenario but just curious to know what happens, below is the code.
I am creating a set of object of class UsingSet. Accor
UsingSet
Set will behave differently.
Uniqueness wont happen. Because unique will be achieved by both hashcode and equals methods. output will be liked this s = [A, a, b, 1] instead of early one.
Apart that remove and contains all wont work.