The purpose of @Override is to guard against your changing the name of the overridden method in the super class, without realizing that the overriding method's name needs to be changed as well. From this point of view, it makes sense to use it when overriding a method from an interface; you want to make sure that you are going to be told, when renaming interface methods, about the methods implementing them that need to follow suit.So Eclipse is right to add @Override to methods overriding interface methods.
"Indicates that a method declaration is intended to override a method declaration in a superclass. If a method is annotated with this annotation type but does not override a superclass method, compilers are required to generate an error message."
Remember Me
a@href@title, blockquote@cite, strike
dasBlog theme by Mads Kristensen