Which of the following is correct about streams in java?
i) Stream represents a sequence of objects from a source, which supports aggregate operations.
ii) Most of the stream operations return stream itself so that their result can be pipelined.
Only(i)
Neither (i) nor (ii)
Only (ii)
Both (i) and (ii)
Answers
Answered by
0
Answer:
ii is the right answer
hope it's help u
Similar questions