1.

What are the difference between map and flatMap stream operation in Java 8?

Answer»
S.noMapFlat map
1.For one input VALUE, it gives one output valueFor one input value,e it produces the ARBITRARY number
16. What do you mean by stream pipelining in Java 8?

Stream Pipelining is done by dividing the operations which can happen on the flow into two categories. The first is Intermediate operations and the SECOND is TERMINAL operations. The common operations return the stream itself so that the result can be pipelined. The terminal operations remain at the END of the pipelining operation. It returns the final value, and the pipeline is terminated.



Discussion

No Comment Found