title: number of hash buckets
body: <p>In the <a href="http://docs.oracle.com/javase/7/docs/api/java/util/HashMap.html" rel="noreferrer">HashMap</a> documentation, it is mentioned that:</p>
  
  <ul>
  <li>the <strong>initial capacity</strong> is simply the capacity at the time the hash table is created  </li>
  <li>the <strong>capacity</strong> is the number of buckets in the hash table.</li>
  </ul>
  
  <p>Now suppose we have intial capacity of 16 (default), and if we keep adding elements to 100 nos, the capacity of hashmap is 100 * loadfactor.</p>
  
  <p>Will the number of hash buckets is 100 or 16?</p>
  
  <p><strong>Edit:</strong><br>
  From the solution I read: buckets are more than the elements added.
  Taking this as view point: so if we add Strings as key, we will get one element/bucket resulting in a lot of space consumption/complexity, is my understanding right ? </p>