Before going into the table, it is advised to refer the programs at: Java StringBuffer Methods: ensureCapacity() Example Java StringBuffer Methods: setLength() Example Java StringBuffer Methods: trimToSize() Example Following terminology is to be rememberd: Length: It is the number of characters present in the buffer (which generally be same or less than the capacity). Capacity: […]
↧