DEV Community

Discussion on: Why it is not possible to extend a final class in Java?

Collapse
 
bertilmuth profile image
Bertil Muth

As Kasey Speakman has pointed out, you can extend final classes by composition. Just not inheritance. A class can offer all visible methods of the final class, plus further methods.