Capgemini Interview Question

One of the key questions was about Core Java 8 features—specifically to explain lambda expressions with an example, and to describe Stream API’s intermediate and terminal operations.

Interview Answer

Anonymous

Apr 7, 2025

I explained the syntax and use-case of lambda expressions with a simple list filter example. Then, I described Stream operations like filter, map (intermediate) and collect, forEach (terminal).