Stream API in Java
Jul 15, 2024 · 2 min read · It can be classify into two operation. Intermediate operation Transform a stream into another stream. Examples: filter, map, distinct, sorted, limit, etc. Terminal operation It's provide the result and terminate the stream. Example: forEach, co...
Join discussion