3 ms·
This is true as the point of getters and setters is encapsulation, if you totally ignore it there is no real reason to have them at all and public access is a l
by democracy 7y ago
This is true as the point of getters and setters is encapsulation, if you totally ignore it there is no real reason to have them at all and public access is a language feature to use.