why running time of this code is O(n^2).(as written in cracking the coding interview book).and how it could be improved
public String makeSentence(String[] words) {
StringBuffer sentence = new StringBuffer();
for (String w : words) sentence.append(w);
return sentence.toString();
}