Infosys interview question

Basics of Java , oops, streams