I saw the API docs.It said the capacity is 11.What do
you mean by 11.Is it the number of elements or is it
in terms of Buckets.
How could a Hashtable contain entries without explicitely adding them ?
Let's quote the API documentation :
- The capacity is the number of buckets in the hash table, and the initial capacity is simply the capacity at the time the hash table is created.
- public Hashtable() constructs a new, empty hashtable with a default initial capacity (11) and load factor (0.75).