Eclipse problem with enum
package testing;
import java.util.*;
public class Token {
public enum Days
{
SUNDAY(1),
MONDAY,
TUESDAY,
WEDNESDAY,
THURSDAY,
FRIDAY,
SATURDAY;
private Days() {}
private Days(int i) {}
}
}
But with Eclipse, it says "enum does not resolve to a type". I don't think I'm alone: http://www.codecomments.com/archive251-2005-4-469867.html
But I couldn't get it working...

