Do Transitions really need to be final?

Greg Brown greg.x.brown at oracle.com
Sat Dec 17 04:09:59 PST 2011


> why is any class final?

One example is immutable types. It is generally recommended that immutable types be marked final to prevent subclasses from changing their mutability:

http://docs.oracle.com/javase/tutorial/essential/concurrency/imstrat.html

G



More information about the openjfx-dev mailing list