Samsung Electronics interview question

1 programme on thread for string concatenation