CountdownLatch

Explain CountDownLatch using real life problem? Let me try to explain CountDownLatch with some real life example: Consider you 5 rooms in your house. Your father is at home with 5 servants, and you are calling from office to your father to ask him to check if you have switched Read more…