Pergunta de entrevista da empresa HCLTech

how to write lambda expressions and what are the major changes in java-8 w.r.t previous versions.