ExecutorService Vs Fork/Join & Future Vs CompletableFuture Interview Question

0

Q1. What is the difference between “Fork/Join Framework“  and “ExecutorService”?

Q2. What is asynchronous processing?

Q3. What do mean Future interface, and why we used in Java?

Q4. What is the reason behind CompletableFuture introduced in Java 8 when you already had the Future interface?

Q5. what is the calls thenAcceptAsync(…) and thenAccept(….)?