3 ms·
Private methods/variables etc are those which are not publicly available. Typically internal state for the object. Ideally, or at least for purity, all variabl
by epo 16y ago
Private methods/variables etc are those which are not publicly available. Typically internal state for the object.
Ideally, or at least for purity, all variables should be private and only accessible via get/set methods, thus encapsulation is enforced.