Java 8 get first n elements of list July 8, 2019 16 32 64 128 Java 8 features interview questions List iterator in java