Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

How to Fix Must Override a Superclass Method Error Eclipse IDE Java | @Override annotation with interface methods

How To Fix Must Override A Superclass Method Error Eclipse IDE Java | @Override Annotation With Interface Methods
One of the annoying error while overriding Java method in Eclipse IDE is must override a superclass method error, This error is quite frequent when importing Java projects and after so long, still I haven't seen any permanent solution to it. Must Override a superclass method the error comes in Eclipse if you have Java Class that implements interface and overrides a method from interface and uses @Override annotation. Unfortunately, Eclipse defaults to Java 1.5, which only recognize @Override annotation for the overriding method from the superclass and not from the interface.


This post first appeared on Javarevisited: Blog About Java Programmin, please read the originial post: here

Share the post

How to Fix Must Override a Superclass Method Error Eclipse IDE Java | @Override annotation with interface methods

×

Subscribe to Javarevisited: Blog About Java Programmin

Get updates delivered right to your inbox!

Thank you for your subscription

×