4 ms·
This is one of those paradigms that I don't understand in Java. It's the most trivial of trivial encapsulations.
by AmpsterMan 7y ago
This is one of those paradigms that I don't understand in Java. It's the most trivial of trivial encapsulations.
- Izkata 7y agoIt is (was?) the primary way to maintain binary compatibility between versions of class files, where switching an attribute to a method (if logic such as verification needed to be added in a future version) would break that compatibility.