Computer Science, asked by saikumarkarnati64, 5 months ago

in java 8 language which of the following statements is incorrect about streams?​

Answers

Answered by STUDYLOVER94
5

Explanation:

where is the statement

Answered by UsmanSant
0

Which of the following is incorrect about streams in java8?

A - Stream represents a sequence of objects from a source, which supports aggregate operations.

B - Most of the stream operations return the stream itself so that their result can be pipelined.

C - Both of the above.

D - None of the above.

The correct option is None of the above as both the options are correct.

  • The stream API has recently been incorporated in java 8 the function of which is to represent a series of objects and help to process them. In this way, collaborative operations are highly achievable.
  • Thus the first statement is correct.
  • Stream results can be "pipelined" to achieve the fruitful targets by returning the stream itself.
  • Thus the second statement is also correct.
  • SO, both of the statements, A and B are correct and the correct option for the above question is None of the above(option D).

#SPJ3

Similar questions