Multiple Choice
Which of the following statements is false?
A) You filter elements to produce a stream of intermediate results that match a predicate.
B) IntStream method filter receives an object that implements the IntPredicate functional interface (package java.util.function) .
C) IntStream method sorted (a lazy operation) orders the elements of the stream into ascending order by default.All prior intermediate operations in the stream pipeline must be complete so that method sorted knows which elements to sort.
D) Method filter is a stateless intermediate operation-it requires information about other elements in the stream in order to test whether the current element satisfies the predicate.
Correct Answer:

Verified
Correct Answer:
Verified
Q1: Intermediate operations are_; they aren't performed until
Q3: Which statement in the following sequence of
Q4: Collectors static method _ returns a Collector
Q14: Class Array's _ method is used to
Q17: Which of the following statements is false?<br>A)
Q28: Which of the following statements is false?<br>A)
Q33: What is the meaning of ( )in
Q39: Prior to Java SE 8,Java supported three
Q42: A nice performance feature of lazy evaluation
Q44: _ is an intermediate operation that transforms