2 ms·
I'm saying you can have private mutable state if you stick to method variables. If you take a method variable and promote it to a field (private or not), or re
by mrkeen 6y ago
I'm saying you can have private mutable state if you stick to method variables. If you take a method variable and promote it to a field (private or not), or return it via a public method, you have made it more public - that's what I meant by "The opposite of private/encapsulated".