Question: what is the difference between final method and ordinary method of a class?
Answer: A static method can access the static member of the class and can only be invoked by other static methods. On the other hand, the final method can never be inherited by any class. Static block is used to initialize the static variables whereas, final keyword does not support any block.