- make attributes private (or protected) and use getters and setters instead of accessing attributes directly.
3.8 KiB
3.8 KiB
- make attributes private (or protected) and use getters and setters instead of accessing attributes directly.