What is the purpose of the `@Override` annotation in Java?
The `@Override` annotation is used to indicate that a method is overriding a method from its superclass. It helps catch errors if the method signature does not match the overridden method.
Great! Youâ€™ve correctly described the purpose of the `@Override` annotation.
Can you explain what happens if you mistakenly use the `@Override` annotation on a method that does not actually override a superclass method?