Anonymous interview question

Java programs- iteration using lamda expressions