Question 8
The function is defined as: If the specified key is not already associated with a value or is associated with , associates it with the given non-null value. Otherwise, replaces the associated value with the results of the given remapping function, or removes if the result is . Consider the Java code given below.
Choose the correct option.
generates a compilation error due to duplicate keys.
The program generates the output:

The program generates the output:

The program generates the output:
