4 ms·
You're not supposed to be able to refer to other.#value, though, isn't that the entire point of a private field?
by tnzm 5y ago
You're not supposed to be able to refer to other.#value, though, isn't that the entire point of a private field?
- lifthrasiir 5y agoThey are private to classes, not instances. Many languages with private fields do allow access to private fields in other instances of the same class.