KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am getting compile errors in eclipse when using the @Override annotation for a class that is implementing an interface. Compiler compliance level is set to Java 6.0. I am using the latest version of the 6.0 jdk. Error: "The method {methodname} of type {classname} must override a superclass method" Same code works fine on mac with comparable configuration. public interface ChannelIF { ... public boolean canSendNarrowcast(); public boolean canSendBroadcast(); } public class FacebookChannel implements ChannelIF { ... @Override public boolean canSendNarrowcast() { return true; } @Override public boolean canSendBroadcast() { return true; } }
Tags (comma-separated)
Save Edits
Cancel