Final class in Java

ID: final-class-in-java

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

New to topics? Read the docs here!