What is the purpose of the "final" keyword in Java? Provide an example.
The "final" keyword is used to make a variable, method, or class constant and unmodifiable. It ensures that the value of a variable can't be changed, a method can't be overridden, or a class can't be subclassed.