Cyient interview question

why is string buffer better than string