Why should methods called from a class constructor be final? [duplicate]
问题 This question already has answers here : In Java, is there a legitimate reason to call a non-final method from a class constructor? (5 answers) Closed 5 years ago . I'm a Java novice and I was trying to make sense of the following line from the tutorial at the Oracle website: https://docs.oracle.com/javase/tutorial/java/IandI/final.html Methods called from constructors should generally be declared final. If a constructor calls a non-final method, a subclass may redefine that method with