Apps Associates interview question

How Java string builder vs string concatenation work at the memory level.