How can we pass a Collection as an argument to a method and ensure that method will not be able to modify it?

All QuestionsCategory: JavaHow can we pass a Collection as an argument to a method and ensure that method will not be able to modify it?
Vaishnavi Talawar asked 3 years ago