How to make immutable collection

Showing Answers 1 - 1 of 1 Answers

sbarik

  • Jun 20th, 2006
 

U can do this by using the following method available in Collection

static Collection unmodifiableCollection(Collection c)

it will return u an immutable collection.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions