Re:JVM Anatomy Quarks
by UncleMeat on Saturday February 01, 2020 @01:52PM
(#22212388)
Final applies to the field, not the object. You can still mutate the object pointed at by a final field.
[ Parent
| on HN ]
Re:JVM Anatomy Quarks
by MaxBarraclough on Saturday February 01, 2020 @04:06PM
(#22213235)
Sure, but the instance's only field, is final.
The static reference KNOWN_M is final, and the only field of the pointed-to instance, x, is also final.