append string example with string builder Example: stringBuilder append string public StringBuilder append(String str)