posted 15 years ago
Hi,
I've the following directory structure
EnumTest
|
-- Test.java
-- MyEnum.java
Test.java contains :-
package EnumTest;
public class Test{
MyEnum e;
}
MyEnum.java contains
package EnumTest;
public enum MyEnum {FIRST,SECOND}
When I try to compile Test.java, it can't find symbol MyEnum. However if I
remove package statement from both source files this code works. How can I
compile the code with package statment ?