About Question enthuware.ocpjp.v8.2.1101 :

All the posts and topics that contain only an error report will be moved here after the error is corrected. This is to ensure that when users view a question in ETS Viewer, the "Discuss" button will not indicate the presence of a discussion that adds no value to the question.

Moderators: Site Manager, fjwalraven

Post Reply
bianca_culea
Posts: 3
Joined: Fri May 13, 2016 10:53 am
Contact:

About Question enthuware.ocpjp.v8.2.1101 :

Post by bianca_culea »

Hi !
I can’t understand why the correct answer is
boolean replace(K key, V oldValue, V newValue) ?


boolean remove(Object key, Object value) , V putIfAbsent(K key, V value) and
boolean replace(K key, V oldValue, V newValue) where provided by java.util.Map and now are available in java.util.concurrent.ConcurrentMap - except that the action is performed atomically.
Maybe I do not understand correctly the meaning of the question?

admin
Site Admin
Posts: 10388
Joined: Fri Sep 10, 2010 9:26 pm
Contact:

Re: About Question enthuware.ocpjp.v8.2.1101 :

Post by admin »

You are right. This has now been fixed.
thank you for your feedback.
Paul.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 5 guests