Which of the following is an intermediate operation in the Stream API?

Last Updated :
Discuss
Comments

Which of the following is an intermediate operation in the Stream API?

collect()

map()

forEach()

reduce()

Share your thoughts in the comments