What is the difference between peek() and forEach() in a stream pipeline?
a) peek() performs a side-effect on each element of the stream, while forEach() terminates the stream and performs a side-effect on each element.
b) peek() terminates the stream and performs a side-effect on each element, while forEach() performs a side-effect on each element of the stream.
c) peek() and forEach() are identical methods.
d) peek() and forEach() can only be used with parallel streams.