Blog Archives

07: Reactive Programming or Reactor pattern (RP) in Java Interview Q&As

Q1. Explain “pull” vs “push” paradigms (aka imperative/interactive vs reactive) with respect to processing data in programming? A1. Interactive/imperative Programming (Pull): is all about asking for something and getting it…



10: ExecutorService Vs Fork/Join & Future Vs CompletableFuture Interview Q&As

Q1. What is the difference between “ExecutorService” and “Fork/Join Framework“?
A1. The Fork/Join framework uses a special kind of thread pool known as the ForkJoinPool, which is a specialized implementation of ExecutorService implementing the 1) work-stealing algorithm, in which the idle workers steal the work from those workers who are busy.…



3. Multi-Threading – Create a simple framework where work items can be submitted

Q: Create a simple framework where work items can be submitted using Java 8 or later. Here are the use cases: #1: A work item is an instance of a…



800+ Java & Big Data Interview Q&As

200+ Java & Big Data Tutorials

Top