3 ms·
Well, getters and setters are a choice that's not predominant for the core java packages: java.lang, java.util, java.io, java.nio, etc. Of course there were ad
by xxs 6y ago
Well, getters and setters are a choice that's not predominant for the core java packages: java.lang, java.util, java.io, java.nio, etc.
Of course there were added with awt 1.1 and swing in an attempt to catch up with the visual programming jazz and for many it never disappeared. Later on there was (still is) a trend to use builders... and a general shift for immutability.