What are the two types of Streams offered by java 8?
(a) sequential and parallel
(b) sequential and random
(c) parallel and random
(d) random and synchronized
I had been asked this question in an interview.
The above asked question is from Java 8 Features topic in division Autoboxing & Miscellaneous of Java