EPAM Systems Interview Question

Difference between CountDownLatch and CyclicBarrier in java?