Scala Bitsets are sets of non-negative integers which are represented as variable-size arrays of bits packed into 64-bit words. The addString() method is utilised to append all elements of this traversable or iterator to a string builder.
Method Definition: def addString()
Return Type: It returns the string builder b to which elements were appended.
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.