Java8 - Last few questions from chapter 1 exercises