Infineon Technologies Interview Question

Write a program to demonstrate Java thread communication.