R

Ram Sharma • 3.40K Points
Extraordinary

Q. Which is the correct order of execution in Stream API?

  • (A) Terminal → Intermediate
  • (B) Intermediate → Terminal
  • (C) Random
  • (D) Depends on thread
  • Correct Answer - Option(B)
  • Views: 7
  • Filed under category Java
  • Hashtags:

Explanation by: Ram Sharma
Intermediate operations are set up first and only executed after a terminal operation is called.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.