Altimetrik interview question

Core Java, Oops concept and stream program