title: Why hexadecimal is not case sensitive in Java?
body: <p>If Java is a case-sensitive language then why are hexadecimal values not
  case-sensitive?</p>
  
  <pre><code>int x = 0x21af3;
  int y = 0X21AF3;
  
  System.out.println(x==y);
  </code></pre>
  
  <p>It returns true. Can anyone explain why hexadecimal is not case-sensitive?</p>