[Solved] Java – Global variables vs Global methods


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

solved Java – Global variables vs Global methods