title: Hashcode of an int
body: <p>What is the hashcode of a primitive type, such as int?</p>
  
  <p>for example, let's say num was an interger.</p>
  
  <pre><code>int hasCode = 0;
  
  if (num != 0) {
    hasCode = hasCode + num.hashCode();
  }
  </code></pre>