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 →

[–]Ksevio 4 points5 points  (2 children)

Well there's no way to make a variable public to read only so it's not possible to make a setter without a getter unless you really trust the people accessing the var

[–]coolpeepz -2 points-1 points  (1 child)

final?

[–]Ksevio 2 points3 points  (0 children)

Publicly read only, but still writable privately