A Admin • 828.70K Points Coach Q. What is the purpose of the flatMap() method in a stream pipeline? (A) To combine multiple streams into a single stream (B) To transform each element of a stream into a new stream (C) To remove duplicates from a stream (D) To sort the elements of a stream Correct Answer - Option(B) Views: 7 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.