Difference between Iterator and Stream in Scala?

Viewed 10840

It seems that both Iterator and Stream are lazy and allow you to keep returning elements to your heart's content. What's the difference between the two?

2 Answers
Related