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
String s = "orange"; s.append("apple");
It is not correct because append method is not available in String: