DEV Community

loading...

Discussion on: Confused by JavaScript's const? Me too!

Collapse
skyboyer profile image
Yevhen Kozlov • Edited

quick search says that for Java final is also just about referencing(for immutability there is no modifier). say for C++ it's combined with sealing(but needs you to declare "change safe" methods as const too).