What are good reasons to prohibit inheritance in Java, for example by using final classes or classes using a single, private parameterless constructor? What are good reasons of making a method final?

11 Answers
11

Leave a Reply

Your email address will not be published. Required fields are marked *