Multiple Choice
You want to save a stream of String values as one long string.Which method of the Stream class should you use?
A) save
B) joining
C) toString
D) collect
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
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
Q7: Which of the following expressions returns an
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
Q13: Complete the following code snippet that determines