What is a 'final' modifier in Java?
It makes a variable constant, prevents method overriding, and prevents inheritance for classes.
Well done! You covered the main uses of 'final'.
Can you explain what happens if you try to override a method marked as 'final'?