1.

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 synchronizedI had been asked this question in an interview.The above asked question is from Java 8 Features topic in division Autoboxing & Miscellaneous of Java

Answer»

The CORRECT CHOICE is (a) sequential and parallel

The best explanation: Sequential stream and parallel stream are two types of stream provided by JAVA.



Discussion

No Comment Found

Related InterviewSolutions