Is ArrayList synchronized by default or else we can make it as synchronize or not?

Options
- ArrayList is synchronized by default
- ArrayList is not Synchronized we cannot make it synchronized
- ArrayList is not Synchronized but we can make it using - Collections.synchronizedList(new ArrayList());
- ArrayList is not Synchronized but we can make it Synchronized using - ArrayList.synchronnizedList(new ArrayLis());


CORRECT ANSWER : ArrayList is not Synchronized but we can make it using - Collections.synchronizedList(new ArrayList());

Write your comments


Enter the code shown above:

(Note: If you cannot read the numbers in the above image, reload the page to generate a new one.)


Advertisement