Which of the following is a terminal operation in the Stream API?

Last Updated :
Discuss
Comments

Which of the following is a terminal operation in the Stream API?

map()

filter()

reduce()

flatMap()

Share your thoughts in the comments