It was an interview question. I was asked to implement the StringBuffer append function. I saw the code after the interview. But I cannot understand how the operati
StringBuffer
StringBuilder is holding a buffer of chars in a char[] and converting them to a String when toString is called.
StringBuilder
char
char[]
String
toString