what is Stream API and types of operation in Stream API || Java 8 Interview Question

Опубликовано: 23 Март 2026
на канале: Code Junction
163
5

#stream
#java8
#javainterviewquestions


what is Stream API and types of operation in Stream API?

Stream pipelining is the concept of chaining operations together. This is done by splitting the operations that can happen on a stream into two categories.

1 - intermediate operations (map , filter , sorted)
2 - terminal operations (collect , foreach)

Stream API example

https://github.com/codejunction95/Jav...