Tech Mahindra interview question

Java thread communication