A

Admin • 828.03K Points
Coach

Q. Which stream operation is lazy?

  • (A) forEach()
  • (B) collect()
  • (C) map()
  • (D) count()

Explanation by: Admin
Intermediate operations like map() are lazy and don't execute until a terminal operation is called.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.