2 ms·
They are private to classes, not instances. Many languages with private fields do allow access to private fields in other instances of the same class.
by lifthrasiir 5y ago
They are private to classes, not instances. Many languages with private fields do allow access to private fields in other instances of the same class.