I use my code to test size of BitSet,I only did an initialization and output the size of BitSet.
import java.util.BitSet; public class TestBitSet { public st