Vidyalelo
Java Programming · Q27

Java Collections Framework

Programming · Java Programming · question 27

Q27

In the Java Collections Framework, which method is used to obtain a synchronized (thread-safe) version of a collection?

A.
`synchronize()`
B.
`synchronizedList()`
C.
`Collections.synchronizedCollection()`
Answer
D.
`makeSynchronized()`

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board