Duplicates in HashMap and HashSet - Java

In HashMap new value overrides the old value

In HashSet old value remains the same and returns false.

Comments

Popular posts from this blog

EJB - Stateful vs Stateless

Mirror binay tree - Java