Posted By:
haranadha_raju
Posted On:
Wednesday, June 4, 2003 11:26 PM
How bout creating a Java class with a vector as a private data element.
You can give a public method for read..and no one will be able to access the vector and therefore write any data to it.
Posted By:
Anonymous
Posted On:
Monday, June 2, 2003 05:47 AM
Check the unmodifiableList method in java.util.Collections.