Making a method final if it has an implementation that should not be changed, and it is critical to the consistent state of the object. Sample: The Object class, in the java.lang package, sits at the top of the class hierarchy tree. Every class is a descendant, direct or indirect, of the Object class. Every class you use or write inherits the instance methods of Object. The Object class does have a number of its methods are final.
Making a method final if it has an implementation that should not be changed, and it is critical to the consistent state of the object. Sample: The Object class, in the java.lang package, sits at the top of the class hierarchy tree. Every class is a descendant, direct or indirect, of the Object class. Every class you use or write inherits the instance methods of Object. The Object class does have a number of its methods are final.