Mondia Interview Question

Java Syntax Questions - Stream API intermediate operations & terminal operations - Java 8 features - List.of() vs new ArrayList - Can we add elements to this list? "final List list = new ArrayList<>()"

Interview Answer

Anonymous

May 12, 2026

- Intermediate ops: map, filter / Terminal ops: foreach, collect. - Generics, stream api, lambda functions - The first is immutable - Yes we can