R

Ram Sharma • 3.40K Points
Extraordinary

Q. What does `Stream.iterate()` generate?

  • (A) Finite stream
  • (B) Empty stream
  • (C) Infinite stream
  • (D) Sorted stream
  • Correct Answer - Option(C)
  • Views: 8
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma
`Stream.iterate()` creates an infinite sequential stream.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.