Pregunta de entrevista de Wabtec

Write a program to send string data from one thread to another.