R Ram Sharma • 3.40K Points Extraordinary Report Q. How can you collect strings from a stream and format them with prefix and suffix? (A) Collectors.toString() (B) Collectors.joining(", ", "[", "]") (C) Collectors.groupingBy() (D) Collectors.mapping() Correct Answer - Option(B) Views: 1 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.