#### Java / Set and its implementations

# What is Initial capacity and load factor in Set implementations?

The **capacity** is the number of buckets in the set, and the **initial capacity** is the capacity at the time HashSet is created. Each **bucket** represent a key value pair.

The **load factor** is a measure of how full the Hash table is allowed to get before its capacity is automatically increased.

More Related questions...