BitSet in java

A BitSet class creates a special type of array that holds bit values. This array can increase in size as needed. This makes it similar to a vector of bits. The BitSet constructors are shown here: The first version creates a default object. The second version allows you to specify its initial size (that is, … Read more