This content has been marked as final. Show 1 reply
a) What is a synchronized collection that is returnedWhat? Those methods returns a wrapper that is synchronized. The wrapper delegates the calls to the original collection (but does so from synchronized methods)
What does it mean its synchronized when weWhy do you have to use b? Who says that?
still have to use #b below?
b) The collection returned by the above methods mustWho says so?
again be accessed synchronously within a synchronized
Does using Vector avoid this?No