shyam sunder prasad wrote:Hi,
My team lead asked me that how to make a collection such as a java.util.list as unmodifiable.
can you guys help me out?
Do you mean making an
interface final ? That causes a compiler error.
Ok i will guess. Extend a class such as linked list and mark it final.
Please tell me if i am making mistakes.