Multiple Choice
Which of the following expressions returns an IntStream, assuming that generator is an instance of type Random?
A) generator.int(1,7)
B) generator.nextInts()
C) "Hello World".codePoints()
D) Stream.of(1,3,5,7,9)
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: Complete the following code snippet, assuming that
Q3: Which method yields a stream obtained by
Q4: You want to create a stream from
Q5: Which statement creates an infinite stream of
Q6: Which statement creates a list of names
Q8: You want to save a stream of
Q9: You want to save stream values in
Q10: The constructor reference Student[]::new is a shorthand
Q11: Complete the following statement that creates a
Q12: You want to create a stream of