<<< Composition and UML Aggregation | Index | Polymorphism >>> |
Encapsulation provides balance between interface and implementation.
At project design stage encapsulation usually means keeping the interfaces small.
At programming stage encapsulation means scope management in terms:
keeping the scopes as small as possible
limiting visibility of variables as much as possible.
<<< Composition and UML Aggregation | Index | Polymorphism >>> |