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