Domanda di colloquio di Capgemini Engineering

Difference between collection and stream api?