Question
Which statement about Streams Basics is the strongest interview answer?
- Streams describe a pipeline of operations over data rather than manual external iteration.
- Streams Basics is mostly a naming style choice and has little effect on runtime or design.
- Streams Basics exists mainly to reduce the number of Java files in a project.
- Streams Basics matters only for frontend frameworks, not for core Java applications.
Hint
Start with the core rule behind Streams Basics.
Answer and rationale
Correct answer: A. Streams describe a pipeline of operations over data rather than manual external iteration.
Streams describe a pipeline of operations over data rather than manual external iteration. This is the base concept interviewers commonly test first.
Track: Java