A Admin • 833.24K Points Coach Q. What happens if duplicate keys are provided to `Collectors.toMap()`? (A) Last one wins (B) Exception is thrown (C) Ignored (D) Merged automatically Correct Answer - Option(B) Views: 28 Filed under category Java Hashtags: Java Streams Share Manage Tags
Discusssion
Login to discuss.