What is the function of the copyOf() method of the List interface?

What is the function of the copyOf() method of the List interface?



Answer: Creates an immutable copy of a provided collection, preserving its order as well


Learn More :

Data Structures

Learn More Multiple Choice Question :