Pregunta de entrevista de Capgemini Engineering

Difference between collection and stream api?