<< §2.6.(f) Inhibition of modification | ↑ Table of Contents ↑ |
§2.6.(g) Decapsulation via base reference
In cases §2.6.(d) and §2.6.(e) above, members of the base
object may be accessed that would not be visible under Java's visibility rules.
Such references are treated as decapsulation in accordance with §3.4.(a) and §3.5.(e).
Note that accessing a base field via base
only gives reading access to this field.
<< §2.6.(f) Inhibition of modification | ↑ Table of Contents ↑ |