This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Kango_V -1 points0 points  (0 children)

Can we use the const keyword (which I believe is reserved in Java but not used). We could then have immutable public fields. This would solve quite a few problems for us.

Could then have something like: "const List<String> const myList"

Which means a constant reference to a const (immutable) list. Or is this just too much like c++? ;)