Answer
Intermediate operations are lazy and return streams (map, filter, sorted).
Terminal operations produce results (collect, forEach, reduce).
Pipeline allows chaining multiple intermediate operations.
Terminal operations produce results (collect, forEach, reduce).
Pipeline allows chaining multiple intermediate operations.