Match the sentence halves to get correct statements about Collections.synchronizedMap and ConcurrentHashMap.
Thread-safe maps
Find the pair
Report a typo
Match the items from left and right columns
The synchronization in synchronizedMap
The synchronization in ConcurrentHashMap
To iterate over a synchronizedMap
To iterate over a ConcurrentHashMap
In synchronizedMap
In ConcurrentHashMap
several threads at a time has access to the map.
only one thread at a time has access to the map.
is performed by an object.
you need to use a synchronized block.
is performed at the bucket level.
you don't need to use a synchronized block.
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.