final = अंतिम
Used in C++ to specify a class that you cannot inherit from.
Example
struct A { virtual void foo() final; // A::foo is final void bar() final; // Error: non-virtual function cannot be final }; struct B final : A // struct B is final { void foo(); // Error: foo cannot be overridden as it's final in A }; struct C : B // Error: B is final { };