title: How do I add String value in Hash Set if a string contains the same character in upper case and lower case?
body: <p>How do I add String value in Hash Set if a string contains the same character in upper case and lower case?</p>
  
  <pre><code>public static void main(String[] args) {
  
  Set&lt;String&gt; set = new HashSet&lt;String&gt;();
  
  set.add("Abc");
  set.add("abc");
  
  System.out.println("Size---"+set.size());
  System.out.println(set);
  
  }
  </code></pre>
  
  <p>OP::</p>
  
  <p>Size---2
  [abc, Abc]</p>