<<< | Index | >>> |
Encapsulation means we want to restrict use to a chosen interface...
...and not allow a use based on implementation
Restrictions should be enforced by compiler...
...by making violations become compiler errors
Prevent accidents, not malice!
New keywords: public and private
<<< | Index | >>> |