final on Class and Method

What are the two uses of the final keyword in C++?