Skip to main content

One doc tagged with "access-modifiers"

View all tags

Encapsulation

Hide internal state behind a controlled interface — access modifiers, getters/setters, and the art of designing immutable classes.