Final
Class: A class that
is defined as final class can not be inherited further. All Methods of a final
class are inherently final and must not be declared as final in the class
definition. Also, a final method can not be redefined further.
If only a method of a class is final then that class can be inherited but that method cannot be redefined.
If only a method of a class is final then that class can be inherited but that method cannot be redefined.