A class declared
final cannot be subclassed. This can protect an implementation contract against overriding in an untrusted subclass. It does not by itself make the class immutable, and it rules out subclass-based customization.// Destination: computer-science.bigb
Articles by others on the same topic
There are currently no matching articles.