I have an interface and an enum
I am implementing the interface in the enum
I am using eclipse as my IDE
Following is my interface file -
ITrafficSignal.java -->
public interface ITrafficSignal {
    public void showAction();
}
Following is my enum file -
ETrafficSignal.java -->
public enum ETrafficSignal implements ITrafficSignal {
    ;
    @Override
    public void showAction() {
    }
}
here the ; in line 2 is being automatically being put by eclipse
If I remove ;, then in the method being implemented -
public void showAction()
is having a red line below the keyword void and the error says -
Multiple markers at this line 
- implements ITrafficSignal.showAction
- Syntax error on token "void", volatile expected
I am unable to understand this.
 
    