P Pushkar • 380 Points Valuable Bookmark Embed Report View In MB-Short 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: 199 Filed under category JAVA Share
Discusssion
Login to discuss.