The JDK version 1.5 doesn't require the Implementing class for an Interface to use @Override annotation for the implemented methods.
Usually when eclipse has the settings to run on JDK 1.6, it adds @Override annotation, as JDK 1.6 allows the use of @Override annotation even for implemented methods from an interface.
Its documented well here.
http://stackoverflow.com/questions/2335655/why-is-javac-failing-on-override-annotation
No comments:
Post a Comment