### Question:
BitSet implements Serializable, Cloneable { @Override public BitSet clone() { return new BitSet(bits.clone()); } BitSet(int numBits); private  BitSet(long[] bits); boolean get(int index); void set(int index); void set(int from, int to); void clear(int index); void clear(); int cardinality(); int nextSetBit(int index); @Override BitSet clone(); @Override int hashCode(); @Override boolean equals(Object o); @Override String toString();  }### Answer:
@Test public void testClone() { BitSet bitSet = new BitSet(NUM_BITS); bitSet.set(NUM_BITS-1); bitSet = bitSet.clone(); assertTrue(bitSet.get(NUM_BITS-1)); }