R Ram Sharma • 3.40K Points Extraordinary Report Q. Which method turns a stream into a Map with duplicate key handling? (A) Collectors.toMap() with merge function (B) Collectors.toMap() only (C) Collectors.groupingBy() only (D) Collectors.merge() Correct Answer - Option(A) Views: 2 Filed under category Java Hashtags: Share Manage Tags
Discusssion
Login to discuss.