adplus-dvertising
frame-decoration

Question

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

Answer: (a).sequential and parallel

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What are the two types of Streams offered by java 8?

Similar Questions

Discover Related MCQs

Q. Which method is used to create a directory with fileattributes?

Q. Which method can be used to check fileAccessiblity?

Q. How can we delete all files in a directory?

Q. How to copy the file from one location to other?

Q. How can we get the size of specified file?

Q. How to read entire file in one line using java 8?

Q. How can we create a symbolic link to file?

Q. How can we filter lines based on content?

Q. Which jar provides FileUtils which contains methods for file operations?

Q. Which feature of java 7 allows to not explicitly close IO resource?

Q. Which of the following is not a core interface of Hibernate?

Q. SessionFactory is a thread-safe object.

Q. Which of the following methods returns proxy object?

Q. Which of the following methods hits database always?

Q. Which of the following method is used inside session only?

Q. Which of the following is not a state of object in Hibernate?

Q. Which of the following is not an inheritance mapping strategies?

Q. Which of the following is not an advantage of using Hibernate Query Language?

Q. In which file database table configuration is stored?

Q. Which of the following is not an advantage of Hibernate Criteria API?