Actually I am a beginner in java and I tried this code of Thread Synchronization. But I am facing some problem in this code during runtime. Basically I tried to take two(2)