Santosh Kumar Nayak wrote:While implementing CountDownLatch and CyclicBarrier can we use Callable Interface and override call method ?
CountDoenLatch and CyclicBarrier are synchronization tools (or aids). You use them to synchronize your application. There is no need to implement them; or even if you did, there is no real purpose in doing so.
... unless of course, when you say "implementing", you mean instantiating and using the instances, then the questions is... Have you tried it from a thread that is running a Callable? Did it work?