1.

What is the difference between intermediate and terminal operations?

Answer»
S.noINTERMEDIATETerminal
1.The intermediate operation produces stream pipeliningTerminal operation TERMINATE the pipeline
2.Intermediate OPERATIONS can be CHAINED multiple times on a streamTerminal operations cannot be chained various times.
3.Intermediate operations cannot be evaluated independently; it NEEDS a terminal operation for evaluation.Terminal Operations can be evaluated independently.


Discussion

No Comment Found