Originally posted by ashok_kumar:
i want to have final array i.e the elements in that array should be final is it possible
I hope it clarifies:
a) You
can declare array containing only final elements.
b) You
can't force the array to contain only final elements (eg as function's parameter)
c) You
can't force array to disable changing it's elements by arr[idx] = val
Adam
SCJA, SCJP 5.0, SCWCD 1.4, SCBCD 5, SCEA 5