Shashi interview question

java 8 min and max , write code to use lambada