📚 Practice Mode

Java Collections Framework

Learn at your own pace with hints and detailed explanations

1 / 15
Multiple Choice

Which of the following methods cannot be invoked with the object of ConcurrentHashMap class?

  1. putIfAbsent(K key, V value)
  2. replace(K key, V oldValue, V newValue)
  3. replace(K key, V value)
  4. containsValue(Object value)
  5. None of these