[ad_1]
Getters and Setters are useful, if you e.g want to add validation in the future (or add logging, or make access statistics or …)
1
[ad_2]
solved Java – Global variables vs Global methods
[ad_1]
Getters and Setters are useful, if you e.g want to add validation in the future (or add logging, or make access statistics or …)
1
[ad_2]
solved Java – Global variables vs Global methods